Ok so i have this array
array
=> [1620, 3093]
and I have a integer
num
=> 1620
is there an easy way to see if there is another number in the array that is not num
so for example
is there another number in the array that doesnt match num. So for the above example i would return true but if array was [1620, 1620] then i would return false
The above should work fine, is readable and efficient too!