Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ blur.js
File
blur.js
src/blur.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
export
function
blur(values, r) {
2
if
(!((r = +r) >= 0)) throw
new
RangeError(
"invalid r"
);
3
let
length = values.length;
4
if
(!((length = Math.floor(length)) >= 0)) throw
new
RangeError(
"invalid length"
);
Callers
nothing calls this directly
Calls
1
Blur2
Function · 0.85
Tested by
no test coverage detected