Function extend

  • Merge the properties

    Parameters

    • dest: any

      The target object

    • Rest ...args: any[]

      The objects to be merged

    Returns any

    • The merged object

    Example

    extend({a: 1}, {b: 2}, {c: 3}) // {a: 1, b: 2, c: 3}
    extend({a: 1}, {a: 2}, {a: 3}) // {a: 3}

Generated using TypeDoc