MCPcopy Index your code
hub / github.com/nodejs/node / isAsyncIterable

Function isAsyncIterable

lib/internal/streams/iter/from.js:82–84  ·  view source on GitHub ↗

* Check if value is an async iterable (has Symbol.asyncIterator). * @returns {boolean}

(value)

Source from the content-addressed store, hash-verified

80 * @returns {boolean}
81 */
82function isAsyncIterable(value) {
83 return typeof value?.[SymbolAsyncIterator] === 'function';
84}
85
86// =============================================================================
87// Primitive Conversion

Callers 12

#pullFromSourceMethod · 0.70
fromFunction · 0.70
isMergeOptionsFunction · 0.70
fromFunction · 0.70
pumpFunction · 0.70
normalizeAsyncValueFunction · 0.70
normalizeAsyncSourceFunction · 0.70
fromSyncFunction · 0.70
fromFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected