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

Function assertTrue

packages/vitest/src/utils.ts:117–119  ·  view source on GitHub ↗
(self: unknown, message?: string, ..._: Array<never>)

Source from the content-addressed store, hash-verified

115 * @since 4.0.0
116 */
117export function assertTrue(self: unknown, message?: string, ..._: Array<never>): asserts self {
118 strictEqual(self, true, message)
119}
120
121/**
122 * Asserts that `self` is `false`.

Callers

nothing calls this directly

Calls 1

strictEqualFunction · 0.70

Tested by

no test coverage detected