MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / putUi

Method putUi

static/settings.ts:201–203  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

199 }
200
201 override putUi(value: number) {
202 this.elem.val(this.clampValue(value));
203 }
204
205 private clampValue(value: number): number {
206 return Math.min(Math.max(value, this.min), this.max);

Callers

nothing calls this directly

Calls 2

clampValueMethod · 0.95
valMethod · 0.80

Tested by

no test coverage detected