@stdlib/utils
Version:
Standard utilities.
26 lines (18 loc) • 481 B
Plain Text
{{alias}}( value )
Returns an array of an object's own and inherited writable property names
and symbols.
If provided `null` or `undefined`, the function returns an empty array.
Parameters
----------
value: any
Input value.
Returns
-------
props: Array
List of an object's own and inherited writable property names and
symbols.
Examples
--------
> var props = {{alias}}( [] )
See Also
--------