Documentation
Dlang.org
Expected.hasValue
expectations
Expected
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
Source
See Implementation
expectations
Expected
constructors
this
functions
error
hasValue
opAssign
opEquals
value
valueOr
Checks whether this Expected object contains an expected value or an error value.