Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (3 sloc) 0.249 kb

1) provide a function to require some keys, but allow any additional keys freely (should be a validation fn for use in validates)

e.g.

requires({a: true, b: [false, isString]}) // allows {a: 123, b: "asd", anotherOne: 222}
Jump to Line
Something went wrong with that request. Please try again.