Drawing.isui
Checks whether a retained control is live.
Syntax
Signature
Drawing.isui(Value: any) -> booleanAliases
This function has no aliases.
Parameters
| Parameter | Type | Description |
|---|---|---|
Value | any | Value to inspect. |
Returns
| Type | Description |
|---|---|
boolean | True for a live control in this context. |
Notes
Checks whether Value is a live retained control belonging to this UI context. Native Drawing primitives and controls from another context return false.
Example
Luau
local Box = Drawing.create("TextBox")
print(Drawing.isui(Box))
Box:Destroy()