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