:: Eq a => [a] -> a -> Bool -package:base-prelude package:rio

Does the element occur in the structure?
notElem is the negation of elem.
O(n) Check if the vector contains an element
O(n) Check if the vector does not contain an element (inverse of elem)