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

Method max

docs/app/js/sanddance-app.js:69315–69318  ·  view source on GitHub ↗
(vector)

Source from the content-addressed store, hash-verified

69313 return this.check();
69314 }
69315 max(vector) {
69316 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = Math.max(vector[i], this[i]);
69317 return this.check();
69318 }
69319 clamp(minVector, maxVector) {
69320 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = Math.min(Math.max(this[i], minVector[i]), maxVector[i]);
69321 return this.check();

Callers 15

presentMethod · 0.45
minMaxPointsFunction · 0.45
componentDidMountMethod · 0.45
componentDidMountMethod · 0.45
rgb_formatRgbFunction · 0.45
hexFunction · 0.45
hslConvertFunction · 0.45
sanddance-app.jsFile · 0.45
presentMethod · 0.45
minMaxPointsFunction · 0.45
newFormatFunction · 0.45
formatPrefixFunction · 0.45

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected