katlib
2.2.1
katlib
/
dev.forst.katlib
/
propagateNull
propagate
Null
fun
<
A
:
Any
,
B
:
Any
>
Pair
<
A
?
,
B
?
>
.
propagateNull
(
)
:
Pair
<
A
,
B
>
?
Content copied to clipboard
When both items in pair are not null, returns non-nullable pair, otherwise returns null.
Sources
Katlib source
Link copied to clipboard