Optional.opEquals

Compare this optional with an input range for equality

  1. bool opEquals(None )
  2. bool opEquals(Optional!U rhs)
  3. bool opEquals(Nullable!U rhs)
  4. bool opEquals(U rhs)
  5. bool opEquals(R rhs)
    struct Optional(T)
    const
    bool
    opEquals
    (
    R
    )
    (
    auto ref R rhs
    )
    if (
    isInputRange!R
    )

Parameters

rhs R

right-hand side value

Return Value

Type: bool

true if equal, false otherwise

Meta