keys
Get all keys from an object deeply
397 bytes
Usage
Given an object, return all of it’s keys and children’s keys deeply as a flat string list.
This is a function you might like to use with get
, which dynamically looks up values in an object given a string path. Using the two together you could do something like flatten a deep object.
As of v10.5.0+ you can get this behavior via the crush function