Module Js_types

module Js_types: sig .. end

type symbol 
Js symbol type only available in ES6
type obj_val 
type undefined_val 
This type has only one value undefined
type null_val 
This type has only one value null
type function_val 
type '_ t = 
| Undefined:undefined_val t
| Null:null_val t
| Boolean:bool t
| Number:float t
| String:string t
| Function:function_val t
| Object:obj_val t
| Symbol:symbol t
val test : 'a -> 'b t -> bool
 
  test "x" String = true
  
type tagged_t = 
| JSFalse
| JSTrue
| JSNull
| JSUndefined
| JSNumberoffloat
| JSStringofstring
| JSFunctionoffunction_val
| JSObjectofobj_val
| JSSymbolofsymbol
val classify : 'a -> tagged_t