We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ab5bd commit 9d5909aCopy full SHA for 9d5909a
tests/draft4/type.json
@@ -18,6 +18,11 @@
18
"data": "foo",
19
"valid": false
20
},
21
+ {
22
+ "description": "a string is still not an integer, even if it looks like one",
23
+ "data": "1",
24
+ "valid": false
25
+ },
26
{
27
"description": "an object is not an integer",
28
"data": {},
@@ -59,6 +64,11 @@
59
64
60
65
61
66
67
68
+ "description": "a string is still not a number, even if it looks like one",
69
70
71
62
72
63
73
"description": "an object is not a number",
74
@@ -100,6 +110,11 @@
100
110
101
111
"valid": true
102
112
113
114
+ "description": "a string is still a string, even if it looks like a number",
115
116
+ "valid": true
117
103
118
104
119
"description": "an object is not a string",
105
120
0 commit comments