phobos-next ~master (2024-03-19T05:49:32Z)
Home
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
(
!
is
(
T
==
Unexpected
!(
_
),
_
) &&
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
nxt
expected
Expected
constructors
this
functions
apply
empty
hasExpectedValue
opAssign
opEquals
popFront
valueOr
properties
front
Is true iff this has a expectedValue of type T.