Home > @cerbos/core > policyIsDerivedRoles
Type guard to check if a Policy is a set of DerivedRoles.
Signature:
export declare function policyIsDerivedRoles(policy: Policy): policy is DerivedRoles;
Parameter |
Type |
Description |
---|---|---|
policy |
Returns:
policy is DerivedRoles