function isAction(value): value is Action;
Defined in: packages/graphql-casl/src/ability.ts:38
Whether a value is one of the Action verbs. Use it to narrow an action read from outside the type system: a stored rule, a directive argument.
unknown
The value to test.
value is Action
true when value is a member of Actions.
true
value
There was an error while loading. Please reload this page.