UNPKG

@kernel-js/support

Version:

Support package for Kernel Framework

11 lines (10 loc) 265 B
/** * Check if value is of array type. * * @param {*} value * @returns {boolean} */ var isArray = function isArray(value) { return Array.isArray(value) === true && Object.prototype.toString.call(value) === '[object Array]'; }; export default isArray;