• Create an object by merging the right object into a shallow copy of the left object ignoring casing, but keeping the right casing. Keys present both objects will be present in the merged object.

    Type Parameters

    • LeftT extends Record<string, any>
    • RightT extends Record<string, any>


    • Optional left: LeftT

      Object to merge.

    • Optional right: RightT

      Object to merge. The casing of the keys of this object takes precedence.

    Returns Record<string, any>

    • An object containing all keys from both objects, where entries present in the right object are replaced. Note that the casing used by right will be used.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.