Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TodePond/ScreenPond
/ wrap
Function
wrap
source/number.js:4–8 ·
view source on GitHub ↗
(number, min, max)
Source
from the content-addressed store, hash-verified
2
// NUMBER //
3
//========//
4
export
const
wrap = (number, min, max) => {
5
if
(number < min)
return
min;
6
if
(number > max)
return
max;
7
return
number;
8
};
Callers
1
getEdgeCorners
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected