mona-dish
    Preparing search index...

    Function shallowMerge

    • Shallow merge as in config, but on raw associative arrays

      Parameters

      • overwrite: boolean = true

        overwrite existing keys, if they exist with their subtrees

      • withAppend: boolean = false

        if a key exist append the values or drop them Combination overwrite withappend filters doubles out of merged arrays

      • ...assocArrays: { [key: string]: any }[]

        array of assoc arres reduced right to left

      Returns { [key: string]: any }