Skip to content

Commit e937519

Browse files
committedJul 19, 2017
integer can be arrayOk
1 parent 94f660a commit e937519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib/coerce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ exports.valObjects = {
9494
'are coerced to the `dflt`.'
9595
].join(' '),
9696
requiredOpts: [],
97-
otherOpts: ['dflt', 'min', 'max'],
97+
otherOpts: ['dflt', 'min', 'max', 'arrayOk'],
9898
coerceFunction: function(v, propOut, dflt, opts) {
9999
if(v % 1 || !isNumeric(v) ||
100100
(opts.min !== undefined && v < opts.min) ||

0 commit comments

Comments
 (0)
Please sign in to comment.