We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4976e58 commit 8e2f870Copy full SHA for 8e2f870
jscomp/others/belt_Option.ml
@@ -22,6 +22,6 @@ let exists = function
22
| Some _ -> true
23
| None -> false
24
25
-let empty = function
+let isEmpty = function
26
| Some _ -> false
27
| None -> true
jscomp/others/belt_Option.mli
@@ -4,4 +4,4 @@ val map : 'a option -> ('a -> 'b) -> 'b option
4
val flatMap : 'a option -> ('a -> 'b option) -> 'b option
5
val getOrElse : 'a option -> 'a -> 'a
6
val exists : 'a option -> bool
7
-val empty : 'a option -> bool
+val isEmpty : 'a option -> bool
0 commit comments