Determines if a given element exists within a set.
Use this to determine if a given element exists within a set.
menu: veeos ==> Math ==> Sets ==> isElement
library: mathLib
o_isElement( [2 3 4 3 5 5 3 1] , 6) returns 0 ("false")
o_isElement( [2 3 4 3 5 5 3 1] , 2) returns 1 ("true")
When dealing with sets it is often useful to know if an element exists within a given set. A typical case is when looking for a specific test result in an array of results, based on a specific detail like an operator name.
VEE 7.0+, all platforms
setAND, setComplement, setOR, setXOR, unique