ixfx
    Preparing search index...

    Namespace Pathed

    A set of functions to work with plain objects using string paths to traverse the structure of an object

    Functions

    applyChanges

    Returns a copy of source with changes applied.

    compareData

    Scans object, producing a list of changed fields where B's value (newer) differs from A (older).

    getField

    Gets the data at path in object. Assumes '.' separates each segment of path.

    getPaths

    Iterates 'paths' for all the fields on o

    getPathsAndData

    Returns a representation of the object as a set of paths and data.

    updateByPath

    Returns a copy of target object with a specified path changed to value.

    Type Aliases

    CompareDataOptions

    Compare data

    PathData

    Data at a particular path

    PathDataChange

    A change to a value