contains method
Returns true
if element
is found in the collection.
Implementation
bool contains(T element) {
if (this is KtCollection) return (this as KtCollection).contains(element);
return indexOf(element) >= 0;
}
Returns true
if element
is found in the collection.
bool contains(T element) {
if (this is KtCollection) return (this as KtCollection).contains(element);
return indexOf(element) >= 0;
}