Packages@robojs/mock
hasAllPermissions()
Function: hasAllPermissions()
function hasAllPermissions(permissions, ...flags): booleanCheck if a permission bitfield has all of the specified permissions
Parameters
| Parameter | Type | Description |
|---|---|---|
permissions | bigint | The permission bitfield |
...flags | bigint[] | The permission flags to check |
Returns
boolean
true if all permissions are set
