expected ~master (2021-10-11T18:48:43Z)
Dub
Repo
Expected.hasError
expected
Expected
Checks if
Expected
has error
bool
hasError
[@property getter]
bool
hasError
[@property getter]
struct
Expected
(T, E = string, Hook = Abort)
@
property
static if
(!(
!isChecked!Hook
))
bool
hasError
()
(
)
if
(
!
is
(
E
==
void
) &&
(
isVoidValueEnabled
!
Hook
||
!
is
(
T
==
void
)
)
)
Meta
Source
See Implementation
expected
Expected
constructors
this
destructors
~this
functions
opAssign
opCast
opEquals
popFront
toHash
postblits
this(this)
properties
empty
error
front
hasError
hasValue
value
Checks if Expected has error