Skip to content

Commit

Permalink
integer can be arrayOk
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Jul 19, 2017
1 parent 94f660a commit e937519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/coerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ exports.valObjects = {
'are coerced to the `dflt`.'
].join(' '),
requiredOpts: [],
otherOpts: ['dflt', 'min', 'max'],
otherOpts: ['dflt', 'min', 'max', 'arrayOk'],
coerceFunction: function(v, propOut, dflt, opts) {
if(v % 1 || !isNumeric(v) ||
(opts.min !== undefined && v < opts.min) ||
Expand Down

0 comments on commit e937519

Please sign in to comment.