MCPcopy Index your code
hub / github.com/Effect-TS/effect / isUnion

Function isUnion

packages/printer/src/internal/doc.ts:142–142  ·  view source on GitHub ↗
(self: Doc.Doc<A>)

Source from the content-addressed store, hash-verified

140
141/** @internal */
142export const isUnion = <A>(self: Doc.Doc<A>): self is Doc.Union<A> => self._tag === "Union"
143
144/** @internal */
145export const isColumn = <A>(self: Doc.Doc<A>): self is Doc.Column<A> => self._tag === "Column"

Callers 3

flattenFunction · 0.85
equalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected