either ~master (2024-02-23T08:51:11Z)
Dub
Repo
EitherTypeOf.EitherTypeOf
either
EitherTypeOf
Undocumented in source.
alias
EitherTypeOf
=
T
alias
EitherTypeOf
=
EitherTypeOf
!(
ReturnType
!
T
,
Left
,
Right
)
alias
EitherTypeOf
=
Either
!(
T
,
Any
)
alias
EitherTypeOf
=
Either
!(
Any
,
T
)
template
EitherTypeOf
(T, Left, Right)
static if
(!(
isEitherStruct!T
))
static if
(!(
isCallable!T
))
static if
(!(
is(T == Left)
))
alias
EitherTypeOf
=
Either
!(
Any
,
T
)
Meta
Source
See Implementation
either
EitherTypeOf
aliases
EitherTypeOf