MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / assert

Function assert

libraries/p5.js:1760–1764  ·  view source on GitHub ↗
(predicate, message)

Source from the content-addressed store, hash-verified

1758 var _this = this;
1759
1760 function assert(predicate, message) {
1761 if (!predicate) {
1762 warnings.push(message);
1763 }
1764 }
1765
1766 function assertNamePresent(name) {
1767 var englishName = _this.getEnglishName(name);

Callers 2

assertNamePresentFunction · 0.85
p5.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected