when I search this question, nothing comes up. It doesn't matter if the question was answered 12 years ago if the post where it was answered doesn't show up on a search. The question that this one is marked as a duplicate of, asks with the word "array", so maybe thats why, but of course javascript has two different kinds of arrays so its not clear even then
Are you saying that none of the other answers are valid because you asked about "list" and not "array"? If you didn't find something in a search does that mean it doesn't exist? Of course not. The message above simply states : "This question already has answers here: "
no, the other one is definitely valid and answers my question perfectly. I'm saying that right now, if you search using the term "list" you will likely not find the answer. And since javascript has two kinds of arrays, using the term "list" seems pretty likely for a lot of people, so a lot of people will not find the answer. I didn't, thats why I asked here.
Array.isArray