String.opEquals

Comparison for equality.

  1. bool opEquals(S that)
    struct String
    const @trusted
    bool
    opEquals
    (
    S
    )
    (
    auto ref S that
    )
    if ()
  2. bool opEquals(ByCodeUnit!S that)
  3. bool opEquals(ByCodePoint!S that)
  4. bool opEquals(char[] that)

Parameters

S

Right hand side type.

that S

The string to compare with.

Return Value

Type: bool

$(D_KEYWORD true) if the strings are equal, $(D_KEYWORD false) otherwise.

Meta