Function get

  • Safely gets a property path from an object. The path is an array. If any property along the path is undefined, the function returns undefined.

    Returns

    the property value, or undefined if any property along the path is undefined.

    Parameters

    • object: undefined | null | Record<string, any>

      the object on which to get the property.

    • path: string[]

      the property path.

    Returns any

Generated using TypeDoc