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 -> 'a -> unit
val add_list : 'a t -> (string * 'a) list -> unit
val add_listf : 'b t -> ('a -> 'b) -> (string * 'a) list -> unit
val make : (string * 'a) list -> 'a t
val makef : ('a -> 'b) -> (string * 'a) list -> 'b t
val remove : 'a t -> string -> unit
val find : 'a t -> string -> 'a option
val keys : 'a t -> string list
val items : 'a t -> (string * 'a) list
val itemsf : ('a -> 'b) -> 'a t -> (string * 'b) list
val length : 'a t -> 'res
val merge : 'a t list -> 'a t
OCaml

Innovation. Community. Security.