Returns the capability bitmask of the running thread. Capabilities are the fine-grained permissions behind thread identity; most scripts only need getthreadidentity, but the raw bits are here when you need them.

Returns

number
The current capability bitmask.

Example