Type alias UseUserHasGroupPredicate

UseUserHasGroupPredicate: ((...groupsToCheck) => boolean)

A function that checks if current user is part of all groups.

Type declaration

    • (...groupsToCheck): boolean
    • Parameters

      • Rest ...groupsToCheck: string[]

      Returns boolean

Params

[groupsToCheck] Name of one or more groups to check.

Returns

Is part of all groupsToCheck or not.

Generated using TypeDoc