autoformat v1.0.0 (2022-06-03T10:33:38Z)
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