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