Answers for "how to check if a data is not an array in javascript"

0

check variable is array or not in javascript

// npm i is-js-array 
const { isJSArray } = require("is-js-array");
isJSArray([]); // true
isJSArray({}); // false
Posted by: Guest on August-31-2021

Code answers related to "how to check if a data is not an array in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language