Node.opEquals

Undocumented in source. Be warned that the author may not have intended to support it.
  1. bool opEquals(Node rhs)
  2. bool opEquals(T rhs)
    struct Node
    const
    bool
    opEquals
    (
    T
    )
    (
    const auto ref T rhs
    )

Examples

auto node = Node(42);

assert(node == 42);
assert(node != "42");
assert(node != "43");

auto node2 = Node(YAMLNull());
assert(node2 == YAMLNull());

const node3 = Node(42);
assert(node3 == 42);

Meta