[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [index](../README) / FieldCondition

# Type Alias: FieldCondition

> **FieldCondition** = \{ `equals`: [`ConditionValue`](ConditionValue); `field`: `string`; \} \| \{ `field`: `string`; `in`: readonly [`ConditionValue`](ConditionValue)[]; \} \| \{ `all`: readonly `FieldCondition`[]; \} \| \{ `any`: readonly `FieldCondition`[]; \} \| \{ `not`: `FieldCondition`; \}

When a field applies, from the values of the fields beside it (the same
component's, list item's or settings'): equal to a value, one of several,
all or any of other conditions, or not one. A closed format, never an
expression; `isFieldVisible` evaluates it. A hidden field keeps its value.
