operation-result
A very basic result wrapper for JS/TS based projects. It works like an Optional
type in Scala, but in the same time it remains more business oriented.
Usage example:
;
Or
if isUnsuccessfulresult return result;
A very basic result wrapper for JS/TS based projects. It works like an Optional
type in Scala, but in the same time it remains more business oriented.
Usage example:
;
Or
if isUnsuccessfulresult return result;
npm i operation-result
0
1.0.2
ISC
15.5 kB
9