1.0.1 • Published 5 years ago
object-mutate v1.0.1
object-mutate
helper functions to modify javascript objects
About - TODO
Conventions - TODO
API - IN PROGRESS
Object.findRootObjectByPath(path)
/**
* @param {string} path Absolute path to the object to be found.
*/
EXAMPLES - TODO
Object.doesObjectMatchByProperties(propertiesToMatch)
/**
* @param {object} propertiesToMatch Properties used to match the object to be found.
*
* @return {boolean} Does the object match with the specified properties or not.
*/
EXAMPLES - TODO
Object.addToKey(destinationPath, object, findSettings = {})
/**
* @param {string} destinationPath Where the add the new object.
* @param {object} object The object to be added.
*/