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

Function getCheckedFunction

lib/os.js:63–72  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

61} = internalBinding('os');
62
63function getCheckedFunction(fn) {
64 return hideStackFrames(function checkError() {
65 const ctx = {};
66 const ret = fn(ctx);
67 if (ret === undefined) {
68 throw new ERR_SYSTEM_ERROR.HideStackFramesError(ctx);
69 }
70 return ret;
71 });
72}
73
74const {
75 0: type,

Callers 1

os.jsFile · 0.85

Calls 2

hideStackFramesFunction · 0.85
fnFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…