MCPcopy
hub / github.com/regl-project/regl / check

Function check

lib/core.js:2572–2575  ·  view source on GitHub ↗
(pred, message)

Source from the content-addressed store, hash-verified

2570 // perform type validation
2571 check.optional(function () {
2572 function check (pred, message) {
2573 env.assert(scope, pred,
2574 'bad data or missing for uniform "' + name + '". ' + message)
2575 }
2576
2577 function checkType (type) {
2578 check(

Callers 15

destroyFunction · 0.70
reglRenderbufferFunction · 0.70
resizeFunction · 0.70
initElementsFunction · 0.70
destroyElementsFunction · 0.70
reglElementsFunction · 0.70
parseFlagsFunction · 0.70
parseImageFunction · 0.70
parseMipMapFromObjectFunction · 0.70
parseTexInfoFunction · 0.70
destroyFunction · 0.70
subimageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…