isPermission

Function

Validate a Permission

  • isPermission(maybePermission: string) : boolean

Parameters

Parameter Type Default Notes
maybePermission Required string

Returns

boolean

Function defined in common/src/permissions/types/Permission.ts:87