Get all own property paths of input, including dot-separated paths for nested objects.
input
getOwnPaths({ a: 1, b: { c: 2 } }); // ['a', 'b', 'b.c'] Copy
getOwnPaths({ a: 1, b: { c: 2 } }); // ['a', 'b', 'b.c']
Get all own property paths of
input, including dot-separated paths for nested objects.