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