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)Parameters
Section titled “Parameters”The rule to negate.
Returns
Section titled “Returns”A rule function that returns the inverse of the input rule.
Example
Section titled “Example”applyWhen(path.field, not(valueEquals(path.other, 'some-value')), required);