(metaWindow)
| 3379 | * @returns |
| 3380 | */ |
| 3381 | export function hasTransient(metaWindow) { |
| 3382 | if (!metaWindow) { |
| 3383 | return false; |
| 3384 | } |
| 3385 | let hasTransient = false; |
| 3386 | metaWindow.foreach_transient(_t => { |
| 3387 | hasTransient = true; |
| 3388 | }); |
| 3389 | |
| 3390 | return hasTransient; |
| 3391 | } |
| 3392 | |
| 3393 | /** |
| 3394 | * Conveniece method for checking if a window is floating. |