@shopify/cli-kit
    Preparing search index...

    Function getPathValue

    • 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: PropertyPath

        The path of the property to get.

      Returns T | undefined

      • Returns the resolved value.