Introduce 'takeUnless' function which is like 'takeIf' but with the predicate inverted.
#KT-7858
This commit is contained in:
@@ -23,4 +23,6 @@ class C {
|
||||
// ORDER: nullableX
|
||||
// ORDER: takeIf
|
||||
// ORDER: takeIf
|
||||
// ORDER: takeUnless
|
||||
// ORDER: takeUnless
|
||||
// ORDER: C
|
||||
|
||||
Reference in New Issue
Block a user