Misc.Stdlib.Array(3) OCaml library Misc.Stdlib.Array(3)

# [NAME](#NAME)

Misc.Stdlib.Array - no description

# [Module](#Module)

Module Misc.Stdlib.Array

# [Documentation](#Documentation)

Module **Array**  
: **sig end**

*val exists2* : **('a -&gt; 'b -&gt; bool) -&gt; 'a array -&gt; 'b array -&gt; bool**

Same as **Array.exists2** from the standard library.

*val for\_alli* : **(int -&gt; 'a -&gt; bool) -&gt; 'a array -&gt; bool**

Same as **Array.for\_all** from the standard library, but the function is applied with the index of the element as first argument, and the element itself as second argument.

*val all\_somes* : **'a option array -&gt; 'a array option**

2026-09-15 OCamldoc

---

Document: Misc.Stdlib.Array(3o) from ocaml-4 4.14.4-r3 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
