Skip to content

Commit 8e2f870

Browse files
committed
belt_Option empty -> isEmpty
1 parent 4976e58 commit 8e2f870

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jscomp/others/belt_Option.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ let exists = function
2222
| Some _ -> true
2323
| None -> false
2424

25-
let empty = function
25+
let isEmpty = function
2626
| Some _ -> false
2727
| None -> true

jscomp/others/belt_Option.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ val map : 'a option -> ('a -> 'b) -> 'b option
44
val flatMap : 'a option -> ('a -> 'b option) -> 'b option
55
val getOrElse : 'a option -> 'a -> 'a
66
val exists : 'a option -> bool
7-
val empty : 'a option -> bool
7+
val isEmpty : 'a option -> bool

0 commit comments

Comments
 (0)