library
Toggle table of contents
1.0.0-alpha01
common
Target filter
common
Switch theme
Search in API
Skip to content
library
library
/
ir.alisalimik.kotstone.bit
/
ifNotEmpty
if
Not
Empty
inline
fun
<
T
:
Enum
<
T
>
,
R
>
BitField
<
T
>
.
ifNotEmpty
(
transform
:
(
BitField
<
T
>
)
->
R
)
:
R
?
(
source
)
Applies a transformation to a BitField if it's not empty.