MCPcopy Create free account
hub / github.com/Effect-TS/effect / isFile

Function isFile

packages/effect/src/unstable/http/Multipart.ts:142–142  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

140 * @since 4.0.0
141 */
142export const isFile = (u: unknown): u is File => isPart(u) && u._tag === "File"
143
144/**
145 * Multipart file part that has been written to the filesystem.

Callers 1

makeFunction · 0.50

Calls 1

isPartFunction · 0.70

Tested by

no test coverage detected