takeUnless
Returns this
value if it does not satisfy the given predicate or null
, if it does.
For detailed usage information see the documentation for scope functions.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns this
value if it does not satisfy the given predicate or null
, if it does.
For detailed usage information see the documentation for scope functions.