MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / isError

Function isError

lib/web/jshint.js:1304–1307  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1302exports.isDate = isDate;
1303
1304function isError(e) {
1305 return isObject(e) &&
1306 (objectToString(e) === '[object Error]' || e instanceof Error);
1307}
1308exports.isError = isError;
1309
1310function isFunction(arg) {

Callers 3

formatValueFunction · 0.85
templateFunction · 0.85
runInContextFunction · 0.85

Calls 4

objectToStringFunction · 0.85
isObjectLikeFunction · 0.85
isObjectFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected