Answers for "check if not array"

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 "check if not array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language