time-to-botec/js/node_modules/@stdlib/utils/property-descriptors/docs/repl.txt

26 lines
425 B
Plaintext
Raw Normal View History

{{alias}}( value )
Returns an object's own property descriptors.
If provided `null` or `undefined`, the function returns an empty object.
Parameters
----------
value: any
Input value.
Returns
-------
desc: Object
Property descriptors.
Examples
--------
> var obj = { 'a': 'b' };
> var desc = {{alias}}( obj )
{ 'a': {...} }
See Also
--------