contains

open operator override fun contains(element: T): Boolean

Checks whether the element is in the list Time complexity O(n)

Return

Boolean

Parameters

element

T