How do I verify if a child array exists in its parent? I have tried _.includes, _.find and _.findIndex without any luck.
let arr = [[1],[2],[3]];
let el = [1];
_.includes(arr, el) // false
_.find(arr, el) // undefined
_.findIndex(arr, el) // -1
To clarify, the el is an array that contains n amount of integers, whilst arr is an array that contains n amount of arrays.
Edit: added JSBIN: https://jsbin.com/tequcoloro/edit?js,console
[1]is not equal to another[1]because they're really different objects with the same content