Rule
Rule<
R> =AccessFn<R> &object
Defined in: packages/schema/src/access/rule.ts:5
An access function that can be combined with plain functions or other rules.
Type Declaration
Section titled “Type Declaration”and: (
other) =>Rule<R>
Both must allow; filters are ANDed.
Parameters
Section titled “Parameters”AccessFn<R>
Returns
Section titled “Returns”Rule<R>
or: (
other) =>Rule<R>
Either may allow; filters are ORed.
Parameters
Section titled “Parameters”AccessFn<R>
Returns
Section titled “Returns”Rule<R>
Type Parameters
Section titled “Type Parameters”R = any