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

30 lines
532 B
Plaintext

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