Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "merge"

Index

Functions

Const mergeMap

  • mergeMap<K, V>(dest: Map<K, V>, ...xs: Nullable<Map<K, V>>[]): Map<K, V>
  • Merges all given maps in left-to-right order into dest. Returns dest.

    Type parameters

    • K

    • V

    Parameters

    • dest: Map<K, V>

      target map

    • Rest ...xs: Nullable<Map<K, V>>[]

      input maps

    Returns Map<K, V>

Const mergeObj

  • mergeObj<T>(dest: IObjectOf<T>, ...xs: Nullable<IObjectOf<T>>[]): IObjectOf<T>
  • Merges all given objects in left-to-right order into dest. Returns dest.

    Type parameters

    • T

    Parameters

    • dest: IObjectOf<T>

      target object

    • Rest ...xs: Nullable<IObjectOf<T>>[]

      input objects

    Returns IObjectOf<T>

Generated using TypeDoc