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

Function isResponseLike

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

Source from the content-addressed store, hash-verified

484export type Uploadable = FileLike | ResponseLike | Readable;
485
486export const isResponseLike = (value: any): value is ResponseLike =>
487 value != null &&
488 typeof value === "object" &&
489 typeof value.url === "string" &&
490 typeof value.blob === "function";
491
492export const isFileLike = (value: any): value is FileLike =>
493 value != null &&

Callers 2

toFileFunction · 0.85
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…