package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Specification of Javascript regular arrays. Use Js.array_get and Js.array_set to access and set array elements.

method toString : js_string t meth
method toLocaleString : js_string t meth
method concat : 'a js_array t -> 'a js_array t meth
method join : js_string t -> js_string t meth
method pop : 'a optdef meth
method push : 'a -> int meth
method push_2 : 'a -> 'a -> int meth
method push_3 : 'a -> 'a -> 'a -> int meth
method push_4 : 'a -> 'a -> 'a -> 'a -> int meth
method reverse : 'a js_array t meth
method shift : 'a optdef meth
method slice : int -> int -> 'a js_array t meth
method slice_end : int -> 'a js_array t meth
method sort : ('a -> 'a -> float) callback -> 'a js_array t meth
method sort_asStrings : 'a js_array t meth
method splice : int -> int -> 'a js_array t meth
method splice_1 : int -> int -> 'a -> 'a js_array t meth
method splice_2 : int -> int -> 'a -> 'a -> 'a js_array t meth
method splice_3 : int -> int -> 'a -> 'a -> 'a -> 'a js_array t meth
method splice_4 : int -> int -> 'a -> 'a -> 'a -> 'a -> 'a js_array t meth
method unshift : 'a -> int meth
method unshift_2 : 'a -> 'a -> int meth
method unshift_3 : 'a -> 'a -> 'a -> int meth
method unshift_4 : 'a -> 'a -> 'a -> 'a -> int meth
method some : ('a -> int -> 'a js_array t -> bool t) callback -> bool t meth
method every : ('a -> int -> 'a js_array t -> bool t) callback -> bool t meth
method forEach : ('a -> int -> 'a js_array t -> unit) callback -> unit meth
method map : ('a -> int -> 'a js_array t -> 'b) callback -> 'b js_array t meth
method filter : ('a -> int -> 'a js_array t -> bool t) callback -> 'a js_array t meth
method reduce_init : ('b -> 'a -> int -> 'a js_array t -> 'b) callback -> 'b -> 'b meth
method reduce : ('a -> 'a -> int -> 'a js_array t -> 'a) callback -> 'a meth
method reduceRight_init : ('b -> 'a -> int -> 'a js_array t -> 'b) callback -> 'b -> 'b meth
method reduceRight : ('a -> 'a -> int -> 'a js_array t -> 'a) callback -> 'a meth
method length : int prop
OCaml

Innovation. Community. Security.