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

Function isUploadable

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

Source from the content-addressed store, hash-verified

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);
518};
519
520export type BlobLikePart =
521 | string

Callers 1

addFormValueFunction · 0.85

Calls 3

isFileLikeFunction · 0.85
isResponseLikeFunction · 0.85
isFsReadStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…