MCPcopy Create free account
hub / github.com/sindresorhus/execa / isIterableObject

Function isIterableObject

lib/stdio/type.js:152–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151const isAsyncIterableObject = value => isObject(value) && typeof value[Symbol.asyncIterator] === 'function';
152const isIterableObject = value => isObject(value) && typeof value[Symbol.iterator] === 'function';
153const isObject = value => typeof value === 'object' && value !== null;
154
155// Types which modify `subprocess.std*`

Callers 1

getStdioItemTypeFunction · 0.85

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected