pub fn try_compare_values(a: &VmValue, b: &VmValue) -> Option<i32>Expand description
Ordered comparison for relational operators. Returns None when the two
values are unordered — i.e. a floating-point NaN is involved (directly, via
an int/float mix, or nested inside a pair or list). Callers implementing
<, >, <=, >= must treat None as “comparison is false”.