time-to-botec/js/node_modules/@stdlib/utils/omit/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

34 lines
611 B
Plaintext

{{alias}}( obj, keys )
Returns a partial object copy excluding specified keys.
The function returns a shallow copy.
The function ignores non-existent keys.
The function only copies own properties. Hence, the function never copies
inherited properties.
Parameters
----------
obj: Object
Source object.
keys: string|Array<string>
Keys to exclude.
Returns
-------
out: Object
New object.
Examples
--------
> var obj1 = { 'a': 1, 'b': 2 };
> var obj2 = {{alias}}( obj1, 'b' )
{ 'a': 1 }
See Also
--------