UNPKG

abbott-methods

Version:

abbott,methods,method,functions,function

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