Finds a value along a given path or sets a value in the given pathwhen called with a third argument.
A key path is a chain of keys to follow inside of an object. They aresepareted by a dot. If your key actually contains a dot you canescape it with the ^ symbol. If you need an actual ^ symbolin a key you can use ^^. You get the idea.
Transforms either an array of keys or a single key intoa valid path with escaped dots.
Parses a path string into an array of keysfor the given path.
toKeys('user.name'); // ['user', 'name']toKeys('user^.name'); // ['user.name']toKeys('user^^.name'); // ['user^', 'name']
This module contains utility functions to deal with pathsinside of objects.