Documentation
Dlang.org
Expected.hasError
expected
Expected
Checks if
Expected
has error
bool
hasError
()
bool
hasError
()
struct
Expected
(T, E = string, Hook = Abort)
@
property
bool
hasError
()
(
)
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 error