We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505165a commit f735d26Copy full SHA for f735d26
1 file changed
src/Core__Option.res
@@ -96,14 +96,11 @@ let or = (opt, other) =>
96
| None => other
97
}
98
99
-let isSome = opt =>
100
- switch opt {
101
- | Some(_) => true
102
- | None => false
103
- }
104
let orElse = or
105
106
-let isNone = value => value == None
+let isSome = opt => opt !== None
+
+let isNone = opt => opt == None
107
108
let eqU = (a, b, f) =>
109
switch a {
0 commit comments