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

Method is

packages/effect/src/unstable/cluster/ClusterError.ts:79–81  ·  view source on GitHub ↗

* Returns `true` when the value is a `MalformedMessage` error. * * @since 4.0.0

(u: unknown)

Source from the content-addressed store, hash-verified

77 * @since 4.0.0
78 */
79 static is(u: unknown): u is MalformedMessage {
80 return hasProperty(u, TypeId) && isTagged(u, "MalformedMessage")
81 }
82
83 /**
84 * Maps failures from the supplied effect into `MalformedMessage` errors.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected