package chartjs

  1. Overview
  2. Docs
type t
val of_string : string -> t Js_of_ocaml.Js.t

A custom format to be used by Moment.js to parse the date.

val of_fun : ('a -> 'b Js_of_ocaml.Js.t) -> t Js_of_ocaml.Js.t

A function must return a Moment.js object given the appropriate data value.

val cast_string : t Js_of_ocaml.Js.t -> string Js_of_ocaml.Js.opt
OCaml

Innovation. Community. Security.