Allows quick triple-equal equality check between the values inside two
Result
s without having to unwrap them first.
const a = Result.of(3)
const b = Result.of(3)
const c = Result.of(null)
const d = Result.nothing()
Result.equals(a, b) // true
Result.equals(a, c) // false
Result.equals(c, d) // true
Allows quick triple-equal equality check between the values inside two
Result
s without having to unwrap them first.