A Admin • 833K Points Coach Q. What is the use of the `takeIf()` function? (A) Always returns true (B) Returns the object if condition is true, else null (C) Takes the first element of a list (D) Returns false if condition is false Correct Answer - Option(B) Views: 16 Filed under category Kotlin Hashtags: Share Manage Tags
Discusssion
Login to discuss.