package chartjs

  1. Overview
  2. Docs

Module Chartjs.Time_parserSource

Sourcetype t
Sourceval of_string : string -> t Js_of_ocaml.Js.t

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

Sourceval 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.

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

Innovation. Community. Security.