node-result
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -48,6 +48,6 @@ "use strict"; | ||
isOk() { | ||
return this.error !== null; | ||
return this.error === null; | ||
} | ||
isFail() { | ||
return this.error === null; | ||
return this.error !== null; | ||
} | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "node-result", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "result", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package