Module Js_min
include Js_of_ocaml.Js
module type OPT = sig ... endtype 'a t= 'a Js_of_ocaml__Js.ttype 'a meth= 'a Js_of_ocaml__Js.methtype 'a gen_prop= 'a Js_of_ocaml__Js.gen_proptype 'a readonly_prop= < get : 'a; > gen_proptype 'a writeonly_prop= < set : 'a -> unit; > gen_proptype 'a prop= < get : 'a; set : 'a -> unit; > gen_proptype 'a optdef_prop= < get : 'a optdef; set : 'a -> unit; > gen_proptype 'a constr= 'a Js_of_ocaml__Js.constrtype ('a, 'b) meth_callback= ('a, 'b) Js_of_ocaml__Js.meth_callbacktype 'a callback= (unit, 'a) meth_callback
val wrap_callback : ('a -> 'b) -> ('c, 'a -> 'b) meth_callbackval wrap_meth_callback : ('b -> 'a) -> ('b, 'a) meth_callback
type match_result_handle= Js_of_ocaml__Js.match_result_handletype string_array= Js_of_ocaml__Js.string_array
class type js_string = object ... endand regExp = object ... endclass type string_constr = object ... endval string_constr : string_constr tval regExp : (js_string t -> regExp t) constrval regExp_withFlags : (js_string t -> js_string t -> regExp t) constrval regExp_copy : (regExp t -> regExp t) constr
class type 'a js_array = object ... endval object_keys : 'a t -> js_string t js_array tval array_empty : 'a js_array t constrval array_length : (int -> 'a js_array t) constrval array_get : 'a js_array t -> int -> 'a optdefval array_set : 'a js_array t -> int -> 'a -> unitval array_map : ('a -> 'b) -> 'a js_array t -> 'b js_array tval array_mapi : (int -> 'a -> 'b) -> 'a js_array t -> 'b js_array t
class type match_result = object ... endval str_array : string_array t -> js_string t js_array tval match_result : match_result_handle t -> match_result t
class type number = object ... endclass type date = object ... endval date_now : date t constrval date_fromTimeValue : (float -> date t) constrval date_month : (int -> int -> date t) constrval date_day : (int -> int -> int -> date t) constrval date_hour : (int -> int -> int -> int -> date t) constrval date_min : (int -> int -> int -> int -> int -> date t) constrval date_sec : (int -> int -> int -> int -> int -> int -> date t) constrval date_ms : (int -> int -> int -> int -> int -> int -> int -> date t) constr
class type date_constr = object ... endval date : date_constr t
class type math = object ... endclass type error = object ... endval error_constr : (js_string t -> error t) constrval string_of_error : error t -> stringval raise_js_error : error t -> 'a
class type json = object ... endval _JSON : json tval decodeURI : js_string t -> js_string tval decodeURIComponent : js_string t -> js_string tval encodeURI : js_string t -> js_string tval encodeURIComponent : js_string t -> js_string tval escape : js_string t -> js_string tval unescape : js_string t -> js_string tval isNaN : 'a -> boolval parseInt : js_string t -> intval parseFloat : js_string t -> float
val bool : bool -> bool tval to_bool : bool t -> boolval string : string -> js_string tval to_string : js_string t -> stringval array : 'a array -> 'a js_array tval to_array : 'a js_array t -> 'a arrayval bytestring : string -> js_string tval to_bytestring : js_string t -> string
val coerce : 'a -> ('a -> 'b Opt.t) -> ('a -> 'b) -> 'bval coerce_opt : 'a Opt.t -> ('a -> 'b Opt.t) -> ('a -> 'b) -> 'b
val typeof : 'a t -> js_string tval instanceof : 'a t -> 'b constr -> boolval debugger : unit -> unit
val export : string -> 'a -> unitval export_all : 'a t -> unit
type float_prop= float prop
type ('a, 'b) result= ('a, 'b) Stdlib.result=|Ok of 'a|Error of 'btype window= Dom_html.window
val to_arrayf : ('a -> 'b) -> 'a js_array t -> 'b arrayval of_arrayf : ('a -> 'b) -> 'a array -> 'b js_array tval to_list : 'a js_array t -> 'a listval of_list : 'a list -> 'a js_array tval to_listf : ('a -> 'b) -> 'a js_array t -> 'b listval of_listf : ('a -> 'b) -> 'a list -> 'b js_array tval optdef : ('a -> 'b) -> 'a option -> 'b optdefval to_optdef : ('a -> 'b) -> 'a Optdef.t -> 'b optionval unoptdef_f : 'a -> ('b -> 'a) -> 'b Optdef.t -> 'aval unoptdef : 'a -> 'a Optdef.t -> 'aval convdef : ('a -> 'b) -> 'a Optdef.t -> 'b optdefval to_opt : ('a -> 'b) -> 'a Opt.t -> 'b optionval opt : ('a -> 'b) -> 'a option -> 'b optval convopt : ('a -> 'b) -> 'a Opt.t -> 'b optval js_log : 'a -> unitval log_str : string -> unitval log : ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a