Answers for "TypeError: tempData.findIndex is not a function"

0

TypeError: tempData.findIndex is not a function

this.ipv4Indx = this.ipv4Indx > -1? this.ipv4Indx : tempData.findIndex((obj => obj.value == "ipv4"))

Putting in a condition helped me solve this issue.
Posted by: Guest on March-01-2022

Code answers related to "TypeError: tempData.findIndex is not a function"

Browse Popular Code Answers by Language