FlowExt
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
FlowExt
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
.