Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrairieLearn/PrairieLearn
/ check
Function
check
public/javascripts/async.js:829–837 ·
view source on GitHub ↗
(err, truth)
Source
from the content-addressed store, hash-verified
827
});
828
829
var
check =
function
(err, truth) {
830
if
(err) {
831
callback(err);
832
}
else
if
(truth) {
833
iterator(next);
834
}
else
{
835
callback(null);
836
}
837
};
838
839
test(check);
840
};
Callers
1
iteratee
Function · 0.70
Calls
2
callback
Function · 0.85
iterator
Function · 0.70
Tested by
no test coverage detected