@mikuroxina/mini-fn
    Preparing search index...

    Function unionWithKey

    • Combines two Maps into another one. If there are duplicate keys, their value will be merged with combiner.

      Type Parameters

      • K
      • V

      Parameters

      • combiner: (key: K) => (left: V) => (right: V) => V

        Function to merge left and right values where entries have duplicate key. Also the key will be passed to.

      Returns (left: Map<K, V>) => (right: Map<K, V>) => Map<K, V>

      A new Map with entries came from both of them.