watchexec ~master (2021-10-12T13:58:57Z)
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