autoformat ~master (2021-06-01T21:25:09Z)
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)
U
orElse
(T v, OrT or)
U
orElse
(
T
:
SumType
!(
None
,
Some
!
U
)
U
OrT
)
(
T
v
,
OrT
or
)
if
(
isSomeFunction
!
OrT
&&
is
(
ReturnType
!
OrT
==
U
)
)
Meta
Source
See Implementation
my
optional
aliases
Optional
functions
hasValue
none
orElse
some
structs
None
Some