type

Condition

type Condition struct { kind ConditionKind conditions []Condition scope ConditionScope path string operator ConditionOperator values []DefaultValue issues []Issue }

An immutable presentation-only logical or scalar condition.

Source field/field.go:150

Kind()ConditionKind
Return the logical or predicate node kind.
Conditions()[]Condition
Return detached child expressions.
Scope()ConditionScope
Return the predicate value scope.
Path()string
Return the path relative to the predicate scope.
Operator()ConditionOperator
Return the scalar predicate operator.
Values()[]DefaultValue
Return detached typed scalar operands.

Condition visibility never grants access or removes hidden document values.

Methods