Skip to main content

values_identical

Function values_identical 

Source
pub fn values_identical(a: &VmValue, b: &VmValue) -> bool
Expand description

Reference / identity equality. For heap-allocated refcounted values (List/Dict/Set/Closure) returns true only when both operands share the same underlying Rc allocation. For primitive scalars, falls back to structural equality (since primitives have no distinct identity).