• 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.

    Returns

    • 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.

    Type Parameters

    • LeftT extends Record<string, any>

    • RightT extends Record<string, any>

    Parameters

    • 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>

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