MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / isFsReadStream

Function isFsReadStream

packages/core/src/v3/apiClient/core.ts:514–514  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

512 typeof value.arrayBuffer === "function";
513
514export const isFsReadStream = (value: any): value is Readable => value instanceof Readable;
515
516export const isUploadable = (value: any): value is Uploadable => {
517 return isFileLike(value) || isResponseLike(value) || isFsReadStream(value);

Callers 1

isUploadableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…