Apply a given function to each value of the provided object (Recursively through all the object elements). It will also scan inside arrays and sub objects.
NOTICE: Original object is not modified
Any language instance like numbers, strings, arrays, objects, etc.. that we want to process.
A function that takes a single argument and returns a value. It must always return a value, cause it will be assigned to the original object
An exact independent copy of the received object, without any shared reference, where each value has been processed by the provided callable function.
Perform a deep copy of the given object.
Any language instance like numbers, strings, arrays, objects, etc.. that we want to duplicate.
An exact independent copy of the received object, without any shared reference.
Get the list of literals for a given object. Notice that only 1rst depth keys are providen
A valid object
List of strings with the first level object key names in the same order as defined on the object instance
Check if two provided objects are identical. Notice that properties order does not alter the comparison. So if two objects have the same properties with exactly the same values, but they appear in a different order on both objects, this method will consider them as equal.
First object to compare
Second object to compare
true if objects are exactly the same, false if not
Tells if the given value is an object or not
A value to check
true if the given value is an object, false otherwise
Check if the provided string is found inside the provided object structure. This method will recursively search inside all the provided object properties and test if the provided string is found. Search will be performed inside any object structures like arrays or other objects. Result will be positive even if any string on the object contains the searched text as a substring.
The object where the string will be looked for
The string that will be searched on the object
True (default) to perform a case sensitive search, false otherwise
True if the string is found anywhere inside the provided object, false otherwise
Combine a source object into a destination one by applying a deep merge. All properties from the source will be replaced into the destination object, without altering the destination properties that are not found on source.
The object that will be overriden with the source one. The given instance will be permanently modified.
An object to merge into the destination one. This instance will not be modified
The destination object instance after being modified by merging the source object into it
Generated using TypeDoc
Utilities to perform common object operations