We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d7337 commit c123145Copy full SHA for c123145
runtime/Stdlib_JSON.res
@@ -57,6 +57,7 @@ module Classify = {
57
| Object(dict<t>)
58
| Array(array<t>)
59
60
+ @deprecated("Directly switch on the JSON object instead") @raises @val
61
let classify = value => {
62
switch _internalClass(value) {
63
| "[object Boolean]" => Bool(_asBool(value))
runtime/Stdlib_JSON.resi
@@ -630,6 +630,7 @@ module Classify: {
630
// Number(42)
631
```
632
*/
633
634
let classify: 'a => t
635
}
636
0 commit comments