• Create a shallow copy of the given object, that contains the given keys, independent of casing. Non existing keys in the source object are ignored.

    Type Parameters

    • T extends Record<string, any>


    • Optional obj: T

      Object to pick the given key from.

    • Rest ...keys: string[]

      Keys of the pair to be picked.

    Returns Partial<Pick<T, typeof keys[number]>>

    • An object containing the given key-value pairs in its original case or an empty object if none of them are found.

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