type t = | Bool(bool) | Null | String(string) | Number(float) | Object(Core__Dict.t<t>) | Array(array<t>)
A type representing a JavaScript type.
let classify: 'a => t
Returns the JSON type of any value.
RESCRIPTJSON.Classify.classify("hello world") // String("hello world") JSON.Classify.classify(42) // Number(42)
JSON.Classify.classify("hello world") // String("hello world") JSON.Classify.classify(42) // Number(42)