Optional.opEquals

Compares this optional with a nullable for equality

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

Parameters

rhs Nullable!U

right-hand side nullable value

Return Value

Type: bool

true if equal, false otherwise

Meta