UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

42 lines (36 loc) 979 B
/** * xdesign v1.0.6 * (c) 2023 xdesign * @license MIT */ import { _ as _typeof } from './dep-82805301.mjs'; import './dep-10a947a6.mjs'; import { _ as _baseGetTag } from './dep-b75d8d74.mjs'; import { i as isObjectLike_1 } from './dep-addc2a84.mjs'; var baseGetTag = _baseGetTag, isObjectLike = isObjectLike_1; /** `Object#toString` result references. */ var symbolTag = '[object Symbol]'; /** * Checks if `value` is classified as a `Symbol` primitive or object. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. * @example * * _.isSymbol(Symbol.iterator); * // => true * * _.isSymbol('abc'); * // => false */ function isSymbol(value) { return _typeof(value) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag; } var isSymbol_1 = isSymbol; export { isSymbol_1 as i }; //# sourceMappingURL=dep-7dcfa37a.mjs.map