Static checkThe permission to check for
List of permissions that are accepted
Static checkChecks against multiple permissions
PermissionObject State of each permission from checkPermissions
List of permissions that will be included in the return object
List of permissions the target has
Static createPopulates an array of permission value objects
Static everyVerify permission object has all permissions enabled
boolean true if every permission in the permissions object matches
Static getList of permissions that were enabled
Static someVerify permission object has some permissions enabled
boolean true if some permissions in the permissions object matches
Generated using TypeDoc
Validate a permission against a list of permissions
Returns
trueifpermissionis included in thepermissionList