• Checks if a chain of properties exists on the given object.

    Parameters

    • obj: Record<string, any>

      The object to be checked.

    • ...properties: string[]

      Chained properties.

    Returns boolean

    true if the property chain leads to a truthy value, false otherwise.

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