MCPcopy Create free account
hub / github.com/effect-app/libs / assertFalse

Function assertFalse

repos/effect/packages/effect/test/utils/assert.ts:63–65  ·  view source on GitHub ↗
(self: boolean, message?: string, ..._: Array<never>)

Source from the content-addressed store, hash-verified

61 */
62export function assertInstanceOf<C extends new(...args: any) => any>(
63 value: unknown,
64 constructor: C,
65 message?: string,
66 ..._: Array<never>
67): asserts value is InstanceType<C> {
68 vassert.instanceOf(value, constructor, message)

Callers 15

Iterable.test.tsFile · 0.90
FiberSet.test.tsFile · 0.90
Record.test.tsFile · 0.90
Option.test.tsFile · 0.90
Result.test.tsFile · 0.90
Chunk.test.tsFile · 0.90
Order.test.tsFile · 0.90
Newtype.test.tsFile · 0.90
BigDecimal.test.tsFile · 0.90

Calls 1

strictEqualFunction · 0.70

Tested by 1

assertMemoizedFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…