natiny.window.get_alive
natiny.window.get_alive(win) -> boolean
Checks whether a window is still open.
Parameters
| Name | Type | Description |
|---|---|---|
win |
number |
Window handle from natiny.window.create |
Returns
| Type | Description |
|---|---|
boolean |
true if the window is open, false otherwise |
Example
local open = natiny.window.get_alive(win)