my ~master (2022-05-17T07:50:13Z)
Dub
Repo
orElse
my
optional
Undocumented in source. Be warned that the author may not have intended to support it.
U
orElse
(T v, U or)
T
orElse
(T v, T or)
T
orElse
(T v, OrT or)
T
orElse
(
T
:
SumType
!(
None
,
Some
!
U
)
U
OrT
)
(
T
v
,
OrT
or
)
if
(
isSomeFunction
!
OrT
&&
is
(
ReturnType
!
OrT
==
T
)
)
U
orElse
(T v, OrT or)
Meta
Source
See Implementation
my
optional
aliases
Optional
functions
hasValue
none
orElse
some
structs
None
Some