---
name: "Misc.Stdlib.Array"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Misc.Stdlib.Array"
---

# Misc.Stdlib.Array(3o)

Extensions to the Array module

## NAME

Misc.Stdlib.Array -  Extensions to the Array module

## Module

Module   Misc.Stdlib.Array

## Documentation

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

### Extensions to the Array module

*val exists2* :  **('a -\> 'b -\> bool) -\> 'a array -\> 'b array -\> bool**

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

*val for\_alli* :  **(int -\> 'a -\> bool) -\> 'a array -\> 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 -\> 'a array option**
