Skip to content

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.

and: (other) => Rule<R>

Both must allow; filters are ANDed.

AccessFn<R>

Rule<R>

or: (other) => Rule<R>

Either may allow; filters are ORed.

AccessFn<R>

Rule<R>

R = any