Documentation
Dlang.org
Expected.hasValue
expected
Expected
Checks if
Expected
has value
bool
hasValue
()
bool
hasValue
()
struct
Expected
(T, E = string, Hook = Abort)
@
property
bool
hasValue
()
(
)
if
(
!
is
(
E
==
void
) &&
(
isVoidValueEnabled
!
Hook
||
!
is
(
T
==
void
)
)
)
Meta
Source
See Implementation
expected
Expected
constructors
this
functions
empty
error
front
hasError
hasValue
opAssign
opCast
opEquals
popFront
toHash
value
Checks if Expected has value