MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / isError

Function isError

lib/tasks/git-init.js:78–80  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

76};
77
78function isError(error) {
79 return typeof error === 'object' && error !== null && typeof error.message === 'string';
80}

Callers 1

_gitCommitMethod · 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…