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

Function isPersistedFile

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

Source from the content-addressed store, hash-verified

167 * @since 4.0.0
168 */
169export const isPersistedFile = (u: unknown): u is PersistedFile =>
170 Predicate.hasProperty(u, TypeId) && Predicate.isTagged(u, "PersistedFile")
171
172/**
173 * Record representation of persisted multipart data.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected