UNPKG

abbott-methods

Version:

abbott,methods,method,functions,function

8 lines (7 loc) 219 B
/** * @description 是否array类型 * @param {*} typeValue * @returns {Boolean} */ export const typeArray = (typeValue: any) => Object.prototype.toString.call(typeValue).toLowerCase() === '[object array]'