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

Function isPart

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

Source from the content-addressed store, hash-verified

104 * @since 4.0.0
105 */
106export const isPart = (u: unknown): u is Part => Predicate.hasProperty(u, TypeId)
107
108/**
109 * Returns `true` when a value is a multipart text `Field`.

Callers 2

isFieldFunction · 0.70
isFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected