Skip to content

not

not(rule): SchemaRule

Defined in: projects/ngx-signal-schema/src/lib/conditions/not.ts:20

Negates a given schema rule.

not is a semantic shortcut for:

(ctx) => !rule(ctx)

SchemaRule

The rule to negate.

SchemaRule

A rule function that returns the inverse of the input rule.

applyWhen(path.field, not(valueEquals(path.other, 'some-value')), required);