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

Function isEvent

packages/effect/src/unstable/eventlog/Event.ts:40–40  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

38 * @since 4.0.0
39 */
40export const isEvent = (u: unknown): u is Event<any, any, any, any> => Predicate.hasProperty(u, TypeId)
41
42/**
43 * Definition of an event type that can be written to an `EventLog`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected