0.7.2 ā€¢ Published 4 years ago

@validarium/predicates v0.7.2

Weekly downloads
270
License
MIT
Repository
github
Last release
4 years ago

Predicates

This package contains all predicates used in validation functions. Name and usage is self explanatory. If not, please look at the tests.

You can use them for composing custom functionality.

API reference

predicates

This package contains all predicates used in validation functions. Name and usage is self explanatory. If not, please look at the tests.

You can use them for composing custom functionality.


predicates.hasDateMax


predicates.hasDateMin


predicates.hasLength


predicates.hasLengthMax


predicates.hasLengthMin


predicates.hasNoSpecialSymbols


predicates.hasNoWhiteSpace


predicates.hasOnlyDigits


predicates.hasValueInInterval


predicates.hasValueMax


predicates.hasValueMin


predicates.isDivisibleBy


predicates.isEmail


predicates.isInteger


predicates.isNegativeNumber


predicates.isNumber


predicates.isOneOf


predicates.isPhoneNumber


predicates.isPositiveNumber


predicates.isRequired


predicates.isString


predicates.isTrimmedLeft


predicates.isTrimmedRight


predicates.isValidIban


predicates.isRequiredNumber


predicates.isTrimmed


predicates.hasAgeInInterval()


predicates.hasLengthInterval()


predicates.isNotOneOf()


predicates.matches()


predicates.startsWith()


Related projects

  • @redux-tools ā€“ Maintaining large Redux applications with ease.
  • react-union ā€“ Integrate React apps into various CMSs seamlessly.
  • lundium ā€“ Beautiful React component library.

License

All packages are distributed under the MIT license. See the license here.

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.1-0

4 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.2.3

5 years ago