Get a string list of all key names that exist in an object (deep).
keys({ name: 'ra' }) // ['name']keys({ name: 'ra', children: [{ name: 'hathor' }] }) // ['name', 'children.0.name'] Copy
keys({ name: 'ra' }) // ['name']keys({ name: 'ra', children: [{ name: 'hathor' }] }) // ['name', 'children.0.name']
Description
Get a string list of all key names that exist in an object (deep).
Example