Node.opEquals

Equality test.

If T is Node, recursively compares all subnodes. This might be quite expensive if testing entire documents.

If T is not Node, gets a value of type T from the node and tests equality with that.

To test equality with a null YAML value, use YAMLNull.

  1. bool opEquals(Node rhs)
    struct Node
    const scope @safe
    bool
    opEquals
    (
    const scope Node rhs
    )
  2. bool opEquals(T rhs)

Return Value

Type: bool

true if equal, false otherwise.

Meta