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

    Parameters

    • key: string

      Name of the header.

    • value: any

      Value of the header.

    Returns Record<string, any>

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

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