Capabilities is a collection of bit flags. To test if a capability is set, you can do something like
Capabilities
const requiredCaps = (Capabilities.Read | Capabilities.Delegate); caps & requiredCaps === requiredCaps;
The ability to delegate this grant's capabilities to someone else.
The ability to read/view the target.
Generated using TypeDoc
Capabilities
is a collection of bit flags. To test if a capability is set, you can do something like