MCPcopy
hub / github.com/inlife/nexrender / assert

Function assert

packages/nexrender-action-lottie/lib/jsx/esprima.jsx:192–196  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

190 };
191
192 function assert(condition, message) {
193 if (!condition) {
194 throw new Error('ASSERT: ' + message);
195 }
196 }
197
198 function isDecimalDigit(ch) {
199 return (ch >= 0x30 && ch <= 0x39);

Callers 15

validateFunction · 0.85
addCommentFunction · 0.85
scanNumericLiteralFunction · 0.85
scanStringLiteralFunction · 0.85
scanRegExpBodyFunction · 0.85
throwErrorFunction · 0.85
tolerateErrorFunction · 0.85
checkPatternParamFunction · 0.85
parseLexicalDeclarationFunction · 0.85
index.jsFile · 0.85
manual.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected