gettenv Synchronous
getstateenv
Defaults to current thread; nil when unavailable.
Luau
gettenv(target: thread?) -> Table?Parameters
| Parameter | Type |
|---|---|
target | thread? |
Returns
Table?getstateenvDefaults to current thread; nil when unavailable.
gettenv(target: thread?) -> Table?| Parameter | Type |
|---|---|
target | thread? |
Table?