• Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.

    Type Parameters

    • T = object

    Parameters

    • object: object

      The object to query.

    • path: string

      The path of the property to get.

    Returns T | undefined

    • Returns the resolved value.