MCPcopy
hub / github.com/microsoft/SandDance / min

Method min

docs/tests/v3/es6/js/sanddance-test-es6.js:17242–17245  ·  view source on GitHub ↗
(vector)

Source from the content-addressed store, hash-verified

17240 return this.check();
17241 }
17242 min(vector) {
17243 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = Math.min(vector[i], this[i]);
17244 return this.check();
17245 }
17246 max(vector) {
17247 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = Math.max(vector[i], this[i]);
17248 return this.check();

Callers 15

formatImageFunction · 0.45
sanddance.jsFile · 0.45
compareFunction · 0.45
checkUniformArrayFunction · 0.45
clampFunction · 0.45
minFunction · 0.45
guessNumberTypeFunction · 0.45
fitBoundsFunction · 0.45
padArrayFunction · 0.45
getPickingRectFunction · 0.45
quantizeScaleFunction · 0.45
onSegmentFunction · 0.45

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected