(x5)
| 10998 | return iterator2; |
| 10999 | } |
| 11000 | function IsReadableStreamAsyncIterator(x5) { |
| 11001 | if (!typeIsObject(x5)) { |
| 11002 | return false; |
| 11003 | } |
| 11004 | if (!Object.prototype.hasOwnProperty.call(x5, "_asyncIteratorImpl")) { |
| 11005 | return false; |
| 11006 | } |
| 11007 | try { |
| 11008 | return x5._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl; |
| 11009 | } catch (_a6) { |
| 11010 | return false; |
| 11011 | } |
| 11012 | } |
| 11013 | function streamAsyncIteratorBrandCheckException(name) { |
| 11014 | return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`); |
| 11015 | } |
no test coverage detected
searching dependent graphs…