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

Function assert

packages/effect/src/internal/console.ts:54–55  ·  view source on GitHub ↗
(condition: boolean, ...args: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

52
53/** @internal */
54export const assert = (condition: boolean, ...args: ReadonlyArray<any>) =>
55 consoleWith((_) => _.assert(condition, ...args))
56
57/** @internal */
58export const clear = consoleWith((_) => _.clear)

Callers 14

FileSystem.test.tsFile · 0.50
HttpServer.test.tsFile · 0.50
spanFunction · 0.50
HttpApi.test.tsFile · 0.50
Resolver.test.tsFile · 0.50
Resolver.test.tsFile · 0.50
Resolver.test.tsFile · 0.50
testsuiteFunction · 0.50
Tracer.test.tsFile · 0.50

Calls 2

consoleWithFunction · 0.85
assertMethod · 0.65

Tested by 2

spanFunction · 0.40
testsuiteFunction · 0.40