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

Function isTransform

lib/internal/streams/iter/utils.js:236–238  ·  view source on GitHub ↗

* Check if a value is a valid transform (function or transform object). * @param {unknown} value * @returns {boolean}

(value)

Source from the content-addressed store, hash-verified

234 * @returns {boolean}
235 */
236function isTransform(value) {
237 return typeof value === 'function' || isTransformObject(value);
238}
239
240/**
241 * Parse variadic arguments for pull/pullSync.

Callers 3

parsePullArgsFunction · 0.85
parsePipeToArgsFunction · 0.85
pullSyncFunction · 0.85

Calls 1

isTransformObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…