query
On this page

elem

lib.elem

Primop
Docs pulled from | This Revision | 21 minutes 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