CmpStr - v3.2.1
    Preparing search index...

    Function merge

    • Deeply merge two objects, where the second object overrides the first.

      Type Parameters

      • T extends Record<string, any>

        The type of the object to get the value from

      Parameters

      • t: T | undefined = ...

        The target object to merge into

      • o: T | undefined = ...

        The source object to merge from

      • OptionalmergeUndefined: boolean = false

        Whether to merge undefined values

      Returns T

      • The merged object