Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jstat/jstat
/ clip
Function
clip
src/vector.js:8–10 ·
view source on GitHub ↗
(arg, min, max)
Source
from the content-addressed store, hash-verified
6
function
ascNum(a, b) {
return
a - b; }
7
8
function
clip(arg, min, max) {
9
return
Math.max(min, Math.min(arg, max));
10
}
11
12
13
// sum of an array
Callers
1
vector.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected