query
On this page

elem

lib.elem

Primop
Docs pulled from | This Revision | about 1 hour ago

Takes 2 arguments

x, xs


Return true if a value equal to x occurs in the list xs, and false otherwise.


Noogle also knows

Aliases
Detected Type
elem :: a -> [b] -> Bool