MCPcopy
hub / github.com/axios/axios / isStream

Function isStream

lib/utils.js:293–293  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

291 * @returns {boolean} True if value is a Stream, otherwise false
292 */
293const isStream = (val) => isObject(val) && isFunction(val.pipe);
294
295/**
296 * Determine if a value is a FormData

Callers

nothing calls this directly

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected