MCPcopy Create free account
hub / github.com/play-co/devkit / bound

Function bound

src/web/components/CenterLayout.js:35–37  ·  view source on GitHub ↗
(value, min, max)

Source from the content-addressed store, hash-verified

33
34
35 function bound(value, min, max) {
36 return value < min ? min : value > max ? max : value;
37 }
38
39 this.addOffset = function (x, y) {
40 this._offset.add(x, y);

Callers 1

CenterLayout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…