Skip to content

Releases: titulus/validate.it.js

hotfix

Choose a tag to compare

@titulus titulus released this 07 May 14:24

add .length, .lessThan and .longerThan to asserts index file

length asserts

Choose a tag to compare

@titulus titulus released this 07 May 14:19
4a074b0

Added asserts:

validate.it.js

validate.it.js Pre-release
Pre-release

Choose a tag to compare

@titulus titulus released this 16 Feb 12:05

changed name

first release

first release Pre-release
Pre-release

Choose a tag to compare

@titulus titulus released this 16 Feb 10:58

The core and a few asserts:

  • .has( subString [, subString2...] ) - Check that any subString present in base.
  • .hasNo( subString [, subString2...] ) - Check that any subString unpresent in base.
  • .hasNumbers() - Check that any number present in base.
  • .hasLettersLatin() - Check that any latin letter present in base.
  • .match( regexp [, regexp2...] ) - Check base for matching any regexp.
  • .eval( assert ) - Calls function assert with base as only argument. Fails if it returns something.