The OpenD Programming Language

JSONValue.opEquals

  1. bool opEquals(JSONValue rhs)
  2. bool opEquals(JSONValue rhs)
    struct JSONValue
    const @nogc nothrow pure @trusted
    bool
    opEquals
    (
    ref const JSONValue rhs
    )

Examples

assert(JSONValue(0u) == JSONValue(0));
assert(JSONValue(0u) == JSONValue(0.0));
assert(JSONValue(0) == JSONValue(0.0));

Meta