time-to-botec/squiggle/node_modules/@stdlib/utils/property-descriptors-in/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

28 lines
580 B
Plaintext

{{alias}}( value )
Returns an object's own and inherited property descriptors.
If provided `null` or `undefined`, the function returns an empty object.
Parameters
----------
value: any
Input value.
Returns
-------
desc: Object
An object's own and inherited property descriptors.
Examples
--------
> function Foo() { this.beep = 'boop'; return this; };
> Foo.prototype.foo = 'bar';
> var obj = new Foo();
> var desc = {{alias}}( obj )
{ 'beep': {...}, 'foo': {...}, ... }
See Also
--------