Abstract
Checks if an array inside the Opt contains the given element.
Element to search for.
opt([1, 2, 3]).hasIn(2) // trueopt([1, 2, 3]).hasIn(4) // falsenone.hasIn(1) // false
has
Checks if an array inside the Opt contains the given element.