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 230f98f commit b52f64eCopy full SHA for b52f64e
spec/validators/type.spec.js
@@ -3,11 +3,13 @@ var valid = require('../../lib/validators/type');
3
const str = 'Hello world';
4
const obj = {hello: 'world'};
5
const num = 42;
6
+const bool = true;
7
8
const types = {
9
string: str,
10
object: obj,
- number: num
11
+ number: num,
12
+ boolean: bool
13
};
14
const typesKeys = Object.keys(types);
15
0 commit comments