canConstructReadableStream.d.ts 474 B

12345678910111213
  1. import '../_version.js';
  2. /**
  3. * A utility function that determines whether the current browser supports
  4. * constructing a [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
  5. * object.
  6. *
  7. * @return {boolean} `true`, if the current browser can successfully
  8. * construct a `ReadableStream`, `false` otherwise.
  9. *
  10. * @private
  11. */
  12. declare function canConstructReadableStream(): boolean;
  13. export { canConstructReadableStream };