time-to-botec/squiggle/node_modules/@stdlib/utils/inherited-property-descriptor/docs/repl.txt

32 lines
581 B
Plaintext
Raw Normal View History

{{alias}}( value, property[, level] )
Returns a property descriptor for an object's inherited 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.
level: integer (optional)
Inheritance level.
Returns
-------
desc: Object|null
Property descriptor.
Examples
--------
> var desc = {{alias}}( {}, 'toString' )
{...}
See Also
--------