Releases: DWTechs/CheckHard.js
Releases · DWTechs/CheckHard.js
Add isValidInteger & isValidFloat
Add emptyCheck parameter to isObject()
- Add emptyCheck parameter to isObject() method. Which default to false
isStringOfLength()
- Add isStringOfLength() method
Add emptyCheck parameter to isString()
- Add emptyCheck parameter to isString() method. Which default to true
Add isJWT() method
- Add isJWT() method
- Improve isArray() method
- Update build tools
- Code cleanup for lighter library
- Add more unit tests
typeCheck parameter to isTimestamp() and isValidTimestamp()
- Add typeCheck parameter to isTimestamp() and isValidTimestamp() methods
- Improve types using "type predicates" for ease of use with Typescript
Fix isNumber with array of length 1
- Fix isNumber() & isTimestamp issue with array of length one
- Add more tests with arrays
Fix isTimestamp
- Fix isTimestamp() issue with string values
isArray() comparator
- isArray() method now checks if 'array' is an array and optionally if it is of length =, <, >, <= or >= than x
containsNumber() min max
- containsNumber() method now can take min and max parameters