Expected.hasExpectedValue

Is true iff this has a expectedValue of type T.

struct Expected(T, E = Exception)
const
bool
hasExpectedValue
()
if (
!is(T == Unexpected!(_),
_
) &&
!is(T == void)
)

Meta