type
Condition
Condition is an immutable, deterministic presentation expression. It never grants access or removes a hidden value from a document.
Full signature
type Condition struct {
// contains filtered or unexported fields
}Methods
Condition.Conditions()Conditions returns detached child expressions for All, Any, and Not nodes.
Condition.Kind()Kind reports whether this node is a logical group, negation, or predicate.
Condition.Operator()Operator returns the predicate's scalar comparison operator.
Condition.Values()Values returns detached, canonically encoded predicate operands.
Condition.Err()Err checks a condition's finite declaration without resolving its references.
Condition.IsZero()IsZero reports that no visibility condition was supplied.
Condition.MarshalJSON()MarshalJSON serializes the finite authoring tree without resolving references.
Condition.Reference()Reference returns the predicate's authored field selector.