MCPcopy Create free account
hub / github.com/microsoft/SandDance / checkVector

Function checkVector

docs/app/js/sanddance-app.js:69558–69561  ·  view source on GitHub ↗
(v, length, callerName = "")

Source from the content-addressed store, hash-verified

69556 return value;
69557}
69558function checkVector(v, length, callerName = "") {
69559 if ((0, _common.config).debug && !validateVector(v, length)) throw new Error("math.gl: ".concat(callerName, " some fields set to invalid numbers'"));
69560 return v;
69561}
69562const map = {};
69563function deprecated(method, version) {
69564 if (!map[method]) {

Callers

nothing calls this directly

Calls 1

validateVectorFunction · 0.70

Tested by

no test coverage detected