PropCondition:
| {
prop: string;
type: "equals";
value: string
| number
| boolean
| undefined;
}
| {
prop: string;
type: "notEquals";
value: string
| number
| boolean
| undefined;
}
| { prop: string; type: "oneOf"; values: ReadonlyArray<string | number> }
| {
prop: string;
type: "notOneOf";
values: ReadonlyArray<string | number>;
}
Condition on a sibling prop of the same schema level, used by
visibleIfandenabledIf. The condition matches while the sibling prop's value equalsequals(or is contained inoneOf);notEqualsandnotOneOfare the negated counterparts.