Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ getValidateFactory
Function
getValidateFactory
benchmark/validators/validate-array.js:16–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
});
15
16
function
getValidateFactory() {
17
const
{
18
validateArray,
19
} = require(
'internal/validators'
);
20
21
return
(n) => validateArray(n,
'n'
);
22
}
23
24
function
main({ n, value }) {
25
const
validate = getValidateFactory();
Callers
1
main
Function · 0.70
Calls
1
require
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…