Expected.hasValue

Checks whether this Expected object contains an expected value or an error value.

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

Meta