Expected.hasValue

Checks if Expected has value

  1. bool hasValue()
  2. bool hasValue()
    struct Expected(T, E = string, Hook = Abort)
    @property
    bool
    hasValue
    ()
    (
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )

Meta