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

Function defined

packages/effect/src/internal/matcher.ts:516–516  ·  view source on GitHub ↗
(u: A)

Source from the content-addressed store, hash-verified

514
515/** @internal */
516export const defined = <A>(u: A): u is A & {} => (u !== undefined && u !== null) as any
517
518/** @internal */
519export const instanceOf = <A extends abstract new(...args: any) => any>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected