KotlinListcontains
size

containsList

isEmpty

Returns true if the string contains the specified other string.

Syntax

list.contains(element)

Example

Enter values below to update the example in real time.

println
contains
println("Hello".contains("ell")) // true