Skip to content

andFieldConditions

andFieldConditions(props): FieldCondition | undefined

Defined in: packages/core/src/fields/utils.ts:317

Combines several optional field conditions into one that is met only when every defined condition is met (logical AND). Returns undefined when no condition is defined. A throwing condition counts as met (true), matching isFieldConditionMet.

(FieldCondition | undefined)[]

FieldCondition | undefined

The combined condition, or undefined if props.conditions has no defined entries.