FieldPredicate

1type FieldPredicate<T> = ["==" | "!=", T] | ["oneOf" | "!oneOf", T[]];

A FieldPredicate is a 2-element array of structure: [operator, operand].

Valid operators are: "==", "!=", "oneOf", "!oneOf"

The operand must either be a string or string[](Array of strings). The latter is used with the oneOf operators.

Used by