phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
Expected.hasExpectedValue
nxt
expected
Expected
Is
true
iff this has a expectedValue of type
T
.
struct
Expected
(T, E = Exception)
const
bool
hasExpectedValue
(
)
if
(
!
isInstanceOf
!(
Unexpected
,
T
) &&
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
nxt
expected
Expected
constructors
this
functions
apply
hasExpectedValue
opAssign
popFront
valueOr
properties
empty
front
Is true iff this has a expectedValue of type T.