julia check if element is in array code example
Example 1: check if array contains a value julia
julia> in([4,6,5]).([4, 6])
2-element BitArray{1}:
true
true
Example 2: check if array contains a value julia
julia> all(in([4,6,5]).([4, 6]))
true