mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
16
.internal/copySymbolsIn.js
Normal file
16
.internal/copySymbolsIn.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import copyObject from './.internal/copyObject.js';
|
||||
import getSymbolsIn from './.internal/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;
|
||||
Reference in New Issue
Block a user