toggle menu
kotlin-common
common
switch theme
search in API
kotlin-common-core
/
com.huanshankeji
/
lambdaOf
lambda
Of
inline
fun
lambdaOf
(
noinline
block
:
(
)
->
Unit
)
:
(
)
->
Unit
(
source
)
inline
fun
<
T
,
R
>
lambdaOf
(
noinline
block
:
(
T
)
->
R
)
:
(
T
)
->
R
(
source
)
Used in places when curly braces are needed (
if
and
when
) to make the code look better.