3D-City Model
    Preparing search index...

    Function deepMergeWithFullReplace

    • Recursively merges two objects (A and B) using deepmerge, supporting "fullReplace" semantics and custom array handling.

      If fullReplace: true is set on any nested object, that object is entirely replaced. Arrays are merged with intelligent slot or append logic.

      Parameters

      • A: Object

        The base object (left-hand value).

      • B: Object

        The incoming object to merge (right-hand value).

      • Optionaloptions: Object = defaultOptions

        Merge strategy options.

      Returns Object

      The merged, deeply combined object.

      const merged = deepMergeWithFullReplace({a: 1}, {a: 2, fullReplace: true});