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

    Type Parameters

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

    Parameters

    • Optionalleft: LeftT

      Object to merge into. They keys of this object will be present in the returned object.

    • Optionalright: RightT

      Object to merge. Only keys in left will be considered for merging.

    Returns Record<string, any>

    • An object containing all keys from the left object, 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.