Releases: titulus/validate.it.js
Releases · titulus/validate.it.js
hotfix
length asserts
Added asserts:
- .length( lengthRequired ) - Check that length of
base
is equal tolengthRequired
. - .lessThan( lengthBeyond ) - Check that length of
base
is less thanlengthBeyond
. - .longerThan( lengthBeyond ) - Check that length of
base
is longer thanlengthBeyond
.
validate.it.js
changed name
first release
The core and a few asserts:
- .has( subString [, subString2...] ) - Check that any
subString
present inbase
. - .hasNo( subString [, subString2...] ) - Check that any
subString
unpresent inbase
. - .hasNumbers() - Check that any number present in
base
. - .hasLettersLatin() - Check that any latin letter present in
base
. - .match( regexp [, regexp2...] ) - Check
base
for matching anyregexp
. - .eval( assert ) - Calls function
assert
withbase
as only argument. Fails if it returns something.