ixfx
    Preparing search index...

    Functions

    addValueByPath

    Adds a value by a string path, with '.' as a the default delimiter Automatically generates intermediate nodes.

    children

    Iterate over all the children of path

    childrenLengthByPath

    Return the length of children of path, or NaN if path not found.

    clearValuesByPath
    findAnyChildByValue

    Searches children, returning the node that has the given value.

    hasValue
    parent

    Return the parent node of path, or undefined if not found or at root.

    parentValues
    removeValueByPath
    siblings

    Iterate over all the siblings of path, excluding the node at path itself. Yields LabelledNode instances, which allow you to traverse tree. If all you care about is the values, use siblingsValues instead.

    siblingsValues

    Iterate over the values of all the siblings of path, excluding the node at path itself. If you need to traverse tree, use siblings instead.

    toStringDeep

    Returns a string representation of a LabelledNode tree. Format: { label: "x", value: ..., children: [...] }

    valueByPath
    valuesByPath

    Classes

    Pathed

    Creates a wrapper for working with 'pathed' trees. An example is a filesystem.

    Type Aliases

    PathOpts

    Options for parsing a path