isAndCriteria()
Home > @backstage/plugin-permission-node
> isAndCriteria
Utility function used to parse a PermissionCriteria
Signature:
isAndCriteria: <T>(criteria: PermissionCriteria<T>) => criteria is AllOfCriteria<T>
Parameters
Parameter |
Type |
Description |
---|---|---|
criteria |
a PermissionCriteria |
criteria is AllOfCriteria<T>
true
if the permission criteria is of type allOf, narrowing down criteria
to the specific type.