Skip to main content

Module semantics

Module semantics 

Source
Expand description

Module: value::semantics

Responsibility: semantic classification for dynamic Value variants. Does not own: operator execution, map normalization, or numeric conversion. Boundary: lightweight capability and coercion-family classification.

Functions§

coercion_family
Returns the coercion-routing family for this value.
is_numeric
Returns true if the value is one of the numeric-like variants supported by numeric comparison/ordering.
supports_numeric_coercion
Returns true when numeric coercion/comparison is explicitly allowed.