zeed
    Preparing search index...

    Function fetchText

    • Fetch text content. Returns the response text or undefined on error.

      Parameters

      • url: string | URL
      • fetchOptions: fetchOptionsType = {}
      • fetchFn: (input: RequestInfo, init?: RequestInit) => Promise<Response> = fetch

      Returns Promise<string | undefined>