JsTypes for JS objects
module Fn : sig ... endThe same as empty in Js.Null will be compiled as null
The same as empty Js.Undefined will be compiled as undefined
typeof x will be compiled as typeof x in JS Please consider functions in Types for a type safe way of reflection
unsafe_lt a b will be compiled as a < b. It is marked as unsafe, since it is impossible to give a proper semantics for comparision which applies to any type
unsafe_le a b will be compiled as a <= b. See also unsafe_lt
unsafe_gt a b will be compiled as a > b. See also unsafe_lt
unsafe_ge a b will be compiled as a >= b. See also unsafe_lt
nullable, value of this type can be either null or 'a this type is the same as type t in Null
value of this type can be either undefined or 'a this type is the same as type t in Undefined
value of this type can be undefined, null or 'a this type is the same as type t n Null_undefined
type +'a null_undefined = 'a nullablemodule Array2 : sig ... endProvide bindings to Js array
module Exn : sig ... endProvide utilities for dealing with Js exceptions
module Vector : sig ... endmodule String : sig ... endProvide bindings to JS string
module TypedArray2 : sig ... endProvide bindings for JS typed array
module Null : sig ... endProvide utilities around 'a null
module Nullable : sig ... endProvide utilities around null_undefined
module Null_undefined : sig ... endmodule Array : sig ... endProvide bindings to Js array
module String2 : sig ... endProvide bindings to JS string
module Re : sig ... endProvide bindings to Js regex expression
module Promise : sig ... endProvide bindings to JS promise
module Date : sig ... endProvide bindings for JS Date
module Dict : sig ... endProvide utilities for JS dictionary object
module Global : sig ... endProvide bindings to JS global functions in global namespace
module Json : sig ... endProvide utilities for json
module Math : sig ... endProvide bindings for JS Math object
module Typed_array : sig ... endProvide bindings for JS typed array
module Types : sig ... endProvide utilities for manipulating JS types
module Float : sig ... endProvide utilities for JS float
module Int : sig ... endProvide utilities for int
module Bigint : sig ... endProvide utilities for bigint
module Option : sig ... endProvide utilities for option
module Result : sig ... endDefine the interface for result
module List : sig ... endProvide utilities for list
module Console : sig ... endmodule Set : sig ... endProvides bindings for ES6 Set
module WeakSet : sig ... endProvides bindings for ES6 WeakSet
module Map : sig ... endProvides bindings for ES6 Map
module WeakMap : sig ... endProvides bindings for ES6 WeakMap