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