Expand description
Core value operations on nodedb_types::Value: comparison, coercion, truthiness.
Equivalent to json_ops.rs but operates on the internal Value type directly,
avoiding the serde_json::Value intermediate. Used by expression evaluation,
computed projections, and aggregate expression paths.
Functions§
- coerced_
eq - Check equality with type coercion.
- compare_
values - Compare two Values with type coercion.
- is_
truthy - Check if a Value is truthy (for boolean contexts).
- to_
value_ number - Convert an f64 to a Value, preferring integer representation.
- value_
to_ display_ string - Convert a Value to a display string.
- value_
to_ f64 - Coerce a Value to f64.