function
OneOf
OneOf matches any configured finite value of one scalar type.
Arguments
| Argument | Type | Description |
|---|---|---|
reference | Reference | The reference value. |
values | []Value | The values value. |
Returns
The declared result.
ConditionFull signature
func OneOf[Value ConditionScalar](
reference Reference,
values ...Value,
) ConditionRelated types
ConditionScalarConditionScalar is the finite scalar vocabulary accepted by condition predicates.
ReferenceReference is an immutable field selector. Its dot-separated path names stored fields through non-repeated groups or named tabs, excluding presentation wrappers and repeated row selectors. Each use resolves in its own field scope.
ConditionCondition is an immutable, deterministic presentation expression. It never grants access or removes a hidden value from a document.