Classify
function
RESCRIPT
type functionAn abstract type representing a JavaScript function.
See function on MDN.
object
RESCRIPT
type objectAn abstract type representing a JavaScript object.
See object on MDN.
t
RESCRIPT
type t =
| Bool(bool)
| Null
| Undefined
| String(string)
| Number(float)
| Object(object)
| Function(function)
| Symbol(Core__Symbol.t)
| BigInt(bigint)The type representing a classified JavaScript value.
classify
RESCRIPT
let classify: 'a => t