check whether the array contains the element julia code example
Example 1: check if array contains a value julia
> 6 in [4,6,5]
true
Example 2: check if array contains a value julia
julia> all(in([4,6,5]).([4, 6]))
true
> 6 in [4,6,5]
true
julia> all(in([4,6,5]).([4, 6]))
true