module Array: sig .. end
let exists2: (('a, 'b) => bool, array('a), array('b)) => bool;
let for_alli: ((int, 'a) => bool, array('a)) => bool;
Same as Array.for_all
, but the
function is applied with the index of the element as first argument,
and the element itself as second argument.
let all_somes: array(option('a)) => option(array('a));