Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of any() function?



What is the use of any() function?..

Answer / Km Jyoti Saini

In Kotlin, the 'any()' function is a built-in extension function for checking if an array, collection or Sequence contains any elements. It returns true if at least one element is found, and false otherwise.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

In kotlin, can we create an empty array?

1 Answers  


What is the use of any() function?

1 Answers  


What do you mean by kotlin string interpolation?

1 Answers  


Explain kotlin’s null safety?

1 Answers  


What are the features available in kotlin but not in java?

1 Answers  


What type of programming does Kotlin support?

1 Answers  


What are some of the features which are there in Kotlin but not In Java?

1 Answers  


Why is kotlin preferred over java?

1 Answers  


What is the latest version of kotlin?

0 Answers  


Why developers can prefer kotlin over java?

1 Answers  


How to declare volatile variable ?

1 Answers  


List the number of constructors available in Kotlin?

1 Answers  


Categories