@adcp/client API Reference - v3.11.2
    Preparing search index...

    Function isGetProductsWorking

    • Type guard to check if GetProducts response is working. Automatically narrows response type to GetProductsAsyncWorking.

      Parameters

      Returns response is GetProductsAsyncWorking

      if (isGetProductsWorking(metadata, response)) {
      console.log(`Progress: ${response.percentage}%`);
      }