Function permissionIncluded

  • Function to verify a permission. Returns true if the permission is granted, false otherwise.

    Parameters

    • permissions: string | string[]

      The permissions the user has.

    • permission: string

      The permission to check.

    Returns boolean

    True if the permission is granted, false otherwise.

    Since

    0.1.0

Generated using TypeDoc