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

How to declare volatile variable ?

1 Answers  


Mention the structural expressions in Kotlin?

1 Answers  


What is Kotlin’s target platform? Is Java-kotlin interoperability possible?

1 Answers  


Define String datatype with example in Kotlin?

1 Answers  


What are the modifiers that are available in kotlin?

1 Answers  


How many constructors are available in Kotlin?

1 Answers  


What are the programming types that Kotlin supports?

1 Answers  


What is the Elvis Operator?

1 Answers  


How to write multiline string in kotlin?

1 Answers  


How are Primary Constructors different from Secondary Constructors ?

1 Answers  


Does Kotlin allow macros?

1 Answers  


What is the use of abstraction in Kotlin?

1 Answers  


Categories