Value ref
unary_exprUnary expression over another ValueRef.
source accepts a nested value reference or a finite numeric literal.
Use abs/neg for magnitude/sign, log/log10 for logarithms, sqrt for square
root, and pct_change for one-bar percent change (2 means 2%). Compose with
binary_expr or rolling_stats, then use the result in a condition or sizing
formula. Symbol/resolution overrides belong on supporting leaf operands.
Dimension hints preserve abs/neg, halve exponents for sqrt and tag
dimensioned log/log10 sources; subtracting equal log dimensions is a ratio.
Unknown dimensions stay unknown. Invalid literal domains are refused;
runtime missing values propagate.
Consumer-specific admission and position context still apply.
Backing types
UnaryExprValueRef
Required fields
opreqenum: abs, neg, log, log10, sqrt, pct_change-sourcereqanyOf (2 variants)-Optional fields
kindstring-Backing types
The IR ValueRef classes this builder field resolves to.