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

Method clampValue

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

Source from the content-addressed store, hash-verified

203 }
204
205 private clampValue(value: number): number {
206 return Math.min(Math.max(value, this.min), this.max);
207 }
208}
209
210export class Settings {

Callers 2

getUiMethod · 0.95
putUiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected