1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.objectCopy = objectCopy;
|
7 |
|
8 | var _spread = require("./spread");
|
9 |
|
10 | // Copyright 2017-2022 @polkadot/util authors & contributors
|
11 | // SPDX-License-Identifier: Apache-2.0
|
12 |
|
13 | /**
|
14 | * @name objectCopy
|
15 | * @summary Creates a shallow clone of the input object
|
16 | */
|
17 | function objectCopy(source) {
|
18 | return (0, _spread.objectSpread)({}, source);
|
19 | } |
\ | No newline at end of file |