UNPKG

has-to-string-tag-x

Version:
13 lines (11 loc) 354 B
import hasSymbols from 'has-symbol-support-x'; import isSymbol from 'is-symbol'; /** * Indicates if `Symbol.toStringTag`exists and is the correct type. * `true`, if it exists and is the correct type, otherwise `false`. * * @type boolean */ export default hasSymbols && /* eslint-disable-next-line compat/compat */ isSymbol(Symbol.toStringTag);