Classify
classify
Deprecated
Directly switch on the JSON object instead
RES
let classify: 'a => tReturns the JSON type of any value.
Examples
RESJSON.Classify.classify("hello world")
// String("hello world")
JSON.Classify.classify(42)
// Number(42)
t
RES
type t =
| Bool(bool)
| Null
| String(string)
| Number(float)
| Object(dict<t>)
| Array(array<t>)A type representing a JavaScript type.