- Source:
- utilities.js, line 2
Methods
-
<static> success(error, callback) → {Boolean}
-
Check if error is null, if it is not, convert it to a GitError and call the callback.
Parameters:
Name Type Description error
Object callback
Function - Source:
- utilities.js, line 15
Returns:
True if the error was null, false otherwise.- Type
- Boolean