KPaths
Toggle table of contents
0.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
KPaths
kpaths-core
/
dev.kpaths.core
/
fold
fold
inline
fun
<
Value
,
Result
>
CaseMatch
<
Value
>
.
fold
(
onNoMatch
:
(
)
->
Result
,
onMatched
:
(
Value
)
->
Result
)
:
Result
Folds the exact matching result into an arbitrary value.