Skip to content
DiagnosticsOverviewNew · 0.744

getcapability

Describe the current runtime capability metadata.

Details#

Returns the current thread's numeric local identity, or 0 when no context is available. Despite the name, this is not a set of individual capability flags.

Examples#

Example

Luau
print(getcapability())