toggle menu
FlowExt
common
switch theme
search in API
FlowExt
/
com.hoc081098.flowext
/
valueOrDefault
value
Or
Default
inline
fun
<
T
>
Event
<
T
>
.
valueOrDefault
(
defaultValue
:
T
)
:
T
?
(
source
)
Returns the encapsulated
value
if this
Event
is a
Event.Value
, otherwise returns
defaultValue
.