Skip to content

Releases: DWTechs/CheckHard.js

Add isValidInteger & isValidFloat

Choose a tag to compare

@LCluber LCluber released this 22 Oct 20:05
  • CheckHard.js becomes Checkard.js
  • Add isValidInteger() method
  • Add isValidFloat() method
  • Fix isArray() method when len param is equal to zero
  • Add more unit tests for isArray() method
  • Improve isInteger() method

Add emptyCheck parameter to isObject()

Choose a tag to compare

@LCluber LCluber released this 18 Feb 17:08
  • Add emptyCheck parameter to isObject() method. Which default to false

isStringOfLength()

Choose a tag to compare

@LCluber LCluber released this 14 Jan 11:52
  • Add isStringOfLength() method

Add emptyCheck parameter to isString()

Choose a tag to compare

@LCluber LCluber released this 29 Dec 20:56
  • Add emptyCheck parameter to isString() method. Which default to true

Add isJWT() method

Choose a tag to compare

@LCluber LCluber released this 18 Oct 10:49
e4fce73
  • Add isJWT() method
  • Improve isArray() method
  • Update build tools
  • Code cleanup for lighter library
  • Add more unit tests

typeCheck parameter to isTimestamp() and isValidTimestamp()

Choose a tag to compare

@LCluber LCluber released this 11 Oct 13:17
f7321ca
  • 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

Choose a tag to compare

@LCluber LCluber released this 08 May 14:57
  • Fix isNumber() & isTimestamp issue with array of length one
  • Add more tests with arrays

Fix isTimestamp

Choose a tag to compare

@LCluber LCluber released this 23 Oct 09:24
  • Fix isTimestamp() issue with string values

isArray() comparator

Choose a tag to compare

@LCluber LCluber released this 16 Aug 22:25
  • isArray() method now checks if 'array' is an array and optionally if it is of length =, <, >, <= or >= than x

containsNumber() min max

Choose a tag to compare

@LCluber LCluber released this 08 May 22:14
  • containsNumber() method now can take min and max parameters