I have an array like this
let a = ["1","2","3"];
let searchFor = 1;
_includes(a, searchFor); //this returns false
I think this one returns false because the value in array a
are strings instead of number.
How can I disregard the data type?
I don't want to convert those strings in the array into numbers because some values in there might be strings really.
Thanks.