Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ optional
Function
optional
external/.d3.js:13244–13246 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
13242
};
13243
13244
function
optional(f) {
13245
return
f == null ? null : required(f);
13246
}
13247
13248
function
required(f) {
13249
if
(typeof f !==
"function"
) throw
new
Error;
Callers
2
index$1
Function · 0.85
stratify
Function · 0.85
Calls
1
required
Function · 0.85
Tested by
no test coverage detected