package ezjs_min

  1. Overview
  2. Docs
type nonrec 'a t = < > Js_of_ocaml.Js.t
val obj : 'res
val create : unit -> 'a t
val add : 'a t -> string -> 'a0 -> unit
val add_list : 'a t -> (string * 'a0) list -> unit
val add_listf : 'b t -> ('a -> 'b0) -> (string * 'a0) list -> unit
val make : (string * 'a) list -> 'a0 t
val makef : ('a -> 'b) -> (string * 'a0) list -> 'b0 t
val remove : 'a t -> string -> unit
val find : 'a t -> string -> 'a0 option
val keys : 'a t -> string list
val items : 'a t -> (string * 'a0) list
val itemsf : ('a -> 'b) -> 'a0 t -> (string * 'b0) list
val length : 'a t -> 'res
val merge : 'a t list -> 'a0 t
OCaml

Innovation. Community. Security.