Optional.opEquals

Compares this optional with a value for equality

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

Parameters

rhs U

right-hand side value

Return Value

Type: bool

true if equal, false otherwise

Meta