Skip to main content

semantically_equal

Function semantically_equal 

Source
pub fn semantically_equal(
    left_doc: &YamlDoc,
    left: NodeId,
    right_doc: &YamlDoc,
    right: NodeId,
) -> Result<bool, SemanticValueError>
Expand description

Compares two YAML nodes using RFC 6902 JSON-value equality.

ยงErrors

Returns an error when either graph contains an unresolved or cyclic alias, an unsupported semantic node, or exceeds the comparison depth limit.