GoScrobble/web/node_modules/lodash-es/_copySymbolsIn.js

17 lines
468 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import copyObject from './_copyObject.js';
import getSymbolsIn from './_getSymbolsIn.js';
/**
* Copies own and inherited symbols of `source` to `object`.
*
* @private
* @param {Object} source The object to copy symbols from.
* @param {Object} [object={}] The object to copy symbols to.
* @returns {Object} Returns `object`.
*/
function copySymbolsIn(source, object) {
return copyObject(source, getSymbolsIn(source), object);
}
export default copySymbolsIn;