hipthrusts - v1.2.0
Preparing search index...
user
roleCheckersOnRoleKey
Function roleCheckersOnRoleKey
roleCheckersOnRoleKey
<
TRoleKey
extends
string
>
(
roleKey
:
TRoleKey
,
)
:
{
oneOfRolesIsOneOf
(
roles
:
string
[]
,
)
:
(
principal
:
Record
<
TRoleKey
,
string
[]
>
)
=>
boolean
;
roleIsOneOf
(
roles
:
string
[]
,
)
:
(
principal
:
Record
<
TRoleKey
,
string
>
)
=>
boolean
|
0
;
}
Type Parameters
TRoleKey
extends
string
Parameters
roleKey
:
TRoleKey
Returns
{
oneOfRolesIsOneOf
(
roles
:
string
[]
,
)
:
(
principal
:
Record
<
TRoleKey
,
string
[]
>
)
=>
boolean
;
roleIsOneOf
(
roles
:
string
[]
,
)
:
(
principal
:
Record
<
TRoleKey
,
string
>
)
=>
boolean
|
0
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
hipthrusts - v1.2.0
Loading...