Documentation
Dlang.org
Expected.hasValue
expected
Expected
Checks if
Expected
has value
bool
hasValue
()
struct
Expected
(T, E = string, Hook = Abort)
@
property
bool
hasValue
const
()
(
)
if
(
!
is
(
E
==
void
) &&
(
isVoidValueEnabled
!
Hook
||
!
is
(
T
==
void
)
)
)
bool
hasValue
()
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