Function hasPermission

  • Returns 1 if the permission passed in 'perm' is on in the permissions set passed as 'perms'. This is a local function and does not make a call to the server.

    Parameters

    • perms: number

      The permission set, typically retrieved for a given user or group.

    • perm: number

      A specific permission bit to check for.

    Returns number

Generated using TypeDoc