• Create an object based on the given key and value if neither key nor value are nullish.

    Returns

    • An object containing the given key and value of an empty object.

    Parameters

    • key: string

      Name of the header.

    • value: any

      Value of the header.

    Returns Record<string, any>

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