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

    Function extractMyshopifyHandle

    • Extracts the subdomain handle from a *.myshopify.com URL or host.

      Parameters

      • value: string | null | undefined

        A URL or host string, possibly null/undefined.

      Returns string | undefined

      The myshopify subdomain handle, or undefined when the input isn't a *.myshopify.com URL.