Skip to main content

value_match

Function value_match 

Source
pub fn value_match(actual: &Value, expected: &Value) -> bool
Expand description

Pattern-position match with entity/instant coercion between overlapping representations. Distinct value types otherwise never match.