NextGIS Frontend
    Preparing search index...

    Function objectAssign

    Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

    The target object to copy to.

    One or more source objects from which to copy properties

    • Type Parameters

      • T
      • U

      Parameters

      • target: T
      • source: U

      Returns T & U

    • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

      Type Parameters

      • T
      • U
      • V

      Parameters

      • target: T

        The target object to copy to.

      • source1: U

        The first source object from which to copy properties.

      • source2: V

        The second source object from which to copy properties.

      Returns T & U & V

    • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

      Type Parameters

      • T
      • U
      • V
      • W

      Parameters

      • target: T

        The target object to copy to.

      • source1: U

        The first source object from which to copy properties.

      • source2: V

        The second source object from which to copy properties.

      • source3: W

        The third source object from which to copy properties.

      Returns T & U & V & W