Optional
options: Toptionsthe same type as the input value, but with the keys/props/indexes mapped over. Objects, Arrays, Maps, Sets etc are copied and returned as new values. Also, Iterators, Generators etc are returned as a Generator with their null
keys mapped over by the mapKeys callback.
Map over the (many) keys/indexes of any possible input value, returning a new instance of the same input value type (if possible), with the results of calling the projector/mapping function on every "nested" key/prop/index of the input value.
Similar idea to lodash
_.mapKeys()
, but powered byz.loop()
. Hence: