package gen_js_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val t_of_js : t -> t
val t_to_js : t -> t
val string_of_js : t -> string
val string_to_js : string -> t
val int_of_js : t -> int
val int_to_js : int -> t
val bool_of_js : t -> bool
val bool_to_js : bool -> t
val float_of_js : t -> float
val float_to_js : float -> t
val array_of_js : (t -> 'a) -> t -> 'a array
val array_to_js : ('a -> t) -> 'a array -> t
val list_of_js : (t -> 'a) -> t -> 'a list
val list_to_js : ('a -> t) -> 'a list -> t
val array_of_js_from : (t -> 'a) -> t -> int -> 'a array
val list_of_js_from : (t -> 'a) -> t -> int -> 'a list
val option_of_js : (t -> 'a) -> t -> 'a option
val option_to_js : ('a -> t) -> 'a option -> t
val fun_to_js : int -> (t -> 'a) -> t
val fun_to_js_args : (t -> 'a) -> t
val get : t -> string -> t
val set : t -> string -> t -> unit
val obj : (string * t) array -> t
val empty_obj : unit -> t
val has_property : t -> string -> bool
val iter_properties : t -> (string -> unit) -> unit
val call : t -> string -> t array -> t
val apply : t -> t array -> t
val new_obj : t -> t array -> t
val call_arr : t -> string -> t -> t
val apply_arr : t -> t -> t
val new_obj_arr : t -> t -> t
val array_make : int -> t
val array_get : t -> int -> t
val array_set : t -> int -> t -> unit
val global : t
val null : t
val variable : string -> t
val type_of : t -> string
class obj : t -> object ... end
val delete : t -> string -> unit
OCaml

Innovation. Community. Security.