:: Eq a => [a] -> a -> Bool -package:mixed-types-num -package:base-unicode-symbols -package:hledger-web -package:base package:dimensional

Does the element occur in the structure?
notElem is the negation of elem.