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

Function isModule

packages/tools/docgen/test/Parser.test.ts:63–65  ·  view source on GitHub ↗
(printableOr: ReadonlyArray<Printer.Printable> | Domain.Module)

Source from the content-addressed store, hash-verified

61}
62
63const isModule = (printableOr: ReadonlyArray<Printer.Printable> | Domain.Module): printableOr is Domain.Module => {
64 return !Array.isArray(printableOr)
65}
66
67const expectMarkdown = Effect.fnUntraced(function*<E>(
68 eff: Effect.Effect<

Callers 1

Parser.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected