aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/cArray.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cArray.mli')
-rw-r--r--lib/cArray.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cArray.mli b/lib/cArray.mli
index ed8a1e94c..0e0be1dfd 100644
--- a/lib/cArray.mli
+++ b/lib/cArray.mli
@@ -47,6 +47,9 @@ sig
val equal : ('a -> 'a -> bool) -> 'a array -> 'a array -> bool
(** Lift equality to array type. *)
+ val is_empty : 'a array -> bool
+ (** True whenever the array is empty. *)
+
val exists : ('a -> bool) -> 'a array -> bool
(** As [List.exists] but on arrays. *)