package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type 'a js_array = t
type ('a, 'b) meth_callback = t
val string : string -> t
val to_string : t -> string
val bytestring : string -> t
val to_bytestring : t -> string
val bool : bool -> t
val to_bool : t -> bool
val array : 'a array -> t
val to_array : t -> 'a array
val number_of_float : float -> t
val float_of_number : t -> float
val typeof : t -> t
val instanceof : t -> t -> bool
val debugger : unit -> unit
val get : t -> t -> t
val set : t -> t -> t -> unit
val delete : t -> t -> unit
val call : t -> t -> t array -> t
val fun_call : t -> t array -> t
val meth_call : t -> string -> t array -> t
val new_obj : t -> t array -> t
val new_obj_arr : t -> t js_array -> t
val obj : (string * t) array -> t
val equals : t -> t -> bool
val pure_expr : (unit -> 'a) -> 'a
val eval_string : string -> 'a
val js_expr : string -> 'a
val pure_js_expr : string -> 'a
val callback : ('b -> 'a) -> ('b, 'a) meth_callback
val callback_with_arguments : (t js_array -> 'b) -> ('c, t js_array -> 'b) meth_callback
val callback_with_arity : int -> ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
val meth_callback : ('b -> 'a) -> ('b, 'a) meth_callback
val meth_callback_with_arity : int -> ('b -> 'a) -> ('b, 'a) meth_callback
val meth_callback_with_arguments : ('b -> t js_array -> 'a) -> ('b, t js_array -> 'a) meth_callback
val wrap_callback : ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
val wrap_meth_callback : ('a -> 'b) -> ('a, 'b) meth_callback
OCaml

Innovation. Community. Security.