UNPKG

@n3okill/utils

Version:
14 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cloneSymbol = cloneSymbol; const _internal_1 = require("../_internal"); /** * Clone a symbol * @param {Symbol} origin * @param {Function} transform * @returns {Symbol} */ function cloneSymbol(origin, transform) { return (0, _internal_1._checkTransform)(Object(Symbol.prototype.valueOf.call(origin)), transform); } //# sourceMappingURL=cloneSymbol.js.map