package sonet

  1. Overview
  2. Docs
type t =
  1. | Null
  2. | Undefined
  3. | Bool of bool
  4. | Int of int64
  5. | Float of float
  6. | String of string
  7. | Object of (string * t) array
  8. | Array of t array
val string_of_type : t -> string
val to_fct_pretty : t -> (string -> unit) -> unit
val to_string : t -> string
val is_null : t -> bool
val is_bool : t -> bool
val is_int : t -> bool
val is_float : t -> bool
val is_string : t -> bool
val is_object : t -> bool
val is_array : t -> bool
val is_scalar : t -> bool
OCaml

Innovation. Community. Security.