Closed bwbuchanan closed 6 years ago
Option.ofNullable uses Javascript "truthiness" as its predicate, instead of comparing against null.
The result of this is that Option.ofNullable(0) returns None, instead of the expected value Some<0>
sorry about that one... 0.8.1 will be on npm in a few minutes with the fix...
thanks for the report!
Option.ofNullable uses Javascript "truthiness" as its predicate, instead of comparing against null.
The result of this is that Option.ofNullable(0) returns None, instead of the expected value Some<0>