MCPcopy Index your code
hub / github.com/nodejs/node / validateArgumentNullCheck

Function validateArgumentNullCheck

lib/child_process.js:1007–1011  ·  view source on GitHub ↗
(arg, propName)

Source from the content-addressed store, hash-verified

1005
1006
1007function validateArgumentNullCheck(arg, propName) {
1008 if (typeof arg === 'string' && StringPrototypeIncludes(arg, '\u0000')) {
1009 throw new ERR_INVALID_ARG_VALUE(propName, arg, 'must be a string without null bytes');
1010 }
1011}
1012
1013
1014function validateArgumentsNullCheck(args, propName) {

Callers 5

forkFunction · 0.85
normalizeExecArgsFunction · 0.85
normalizeExecFileArgsFunction · 0.85
normalizeSpawnArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…