MCPcopy Create free account
hub / github.com/RubyLouvre/anu / isError

Function isError

test/babel.js:11078–11080  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

11076 exports.isDate = isDate;
11077
11078 function isError(e) {
11079 return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);
11080 }
11081 exports.isError = isError;
11082
11083 function isFunction(arg) {

Callers 1

formatValueFunction · 0.85

Calls 2

isObjectFunction · 0.70
objectToStringFunction · 0.70

Tested by

no test coverage detected