I was trying to access a value in a tuple, but when I do, I get the “e.findIdx is not a function” error. This doesn’t happen when I do the same thing with an array, just a tuple.
Here is an example of what I’m trying to do:
let exampleTuple: [number,number] = [5,6]
let value: number = exampleTuple[0]
I honesty have no clue what is wrong. All help is appreciated.