@nevware21/ts-utils
    Preparing search index...

    Function objExtend

    Extend the target object by merging the passed arguments into it Only own enumerable properties are copied, inherited properties and properties named __proto__, constructor or prototype are not.

    The object to be extended or overwritten

    The optional number of arguments to be copied

    • A new object or the original
    • Extend the target object by merging the passed arguments into it Only own enumerable properties are copied, inherited properties and properties named __proto__, constructor or prototype are not.

      Type Parameters

      • T

      Parameters

      • target: T

        The object to be extended or overwritten

      • ...theArgs: any

        The optional number of arguments to be copied

      Returns any

      • A new object or the original