MCPcopy Create free account
hub / github.com/effector/effector / assert

Function assert

src/forest/assert.ts:1–3  ·  view source on GitHub ↗
(condition: any, msg: string)

Source from the content-addressed store, hash-verified

1export function assert(condition: any, msg: string): asserts condition {
2 if (!condition) throw Error(msg)
3}
4
5export function assertClosure(
6 currentActor: any,

Callers 4

mountChildFunction · 0.90
handlerFunction · 0.90
variantFunction · 0.90
usingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…