UNPKG

@kernel-js/support

Version:

Support package for Kernel Framework

17 lines (15 loc) 385 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * 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]'; }; exports.default = isArray; module.exports = exports['default'];