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

    Returns

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

    Parameters

    • obj: Record<string, any>

      The object to be checked.

    • Rest ...properties: string[]

      Chained properties.

    Returns boolean

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