Releases: angular-package/type
Releases · angular-package/type
4.2.0
25 Jun 21:40
Compare
Sorry, something went wrong.
No results found
[4.2.0] - 2021-06-25
Added
a6b567f
New NumberBetween and StringOfLength type.
21f3f48
New functions isDate(), isFalse(), isNumberBetween(), isRegExp(), isStringLength(), isTrue() with tests and types.
7d4cda7
This CHANGELOG.md.
Changed
4.1.4
04 Jun 10:40
Compare
Sorry, something went wrong.
No results found
4.1.3
02 Jun 15:36
Compare
Sorry, something went wrong.
No results found
Most important
Update README.md
Fix:
Fixes the return type boolean, which doesn't strictly indicate the value is defined by changing the value type to a generic Type and the return type to value is Defined<Type> 9154c07
All isNot prefixed functions to strictly indicate the value is not a type 1c86751
4.1.2
30 May 19:14
Compare
Sorry, something went wrong.
No results found
4.1.1
29 May 13:52
Compare
Sorry, something went wrong.
No results found
4.1.0
27 May 17:12
Compare
Sorry, something went wrong.
No results found
#19
Added:
isObjectKeys(): checks if any value is an object of a generic Type with some of its own specified keys d2e08b5
guardObjectKeys(): guard the value to be an object of a generic Type with some of its own specified keys daebc84
Updated:
isInstance(): default type variable Class is set to Function 2338fce
isKey(): check primitive only 6a7f079
Fixed:
guardKey(): change return from boolean to value is Key c673ccb
guardDefined(): guard the value to be not undefined e1432e6
guardObjectKey() guardObject() guard the value with object bd3e733
guardInstance(): guard the value with object 5ba793c
guardClass(): guard the value with Function 654e656
4.0.5
23 May 08:58
Compare
Sorry, something went wrong.
No results found
4.0.2
22 May 12:47
Compare
Sorry, something went wrong.
No results found
4.0.1
20 May 20:46
Compare
Sorry, something went wrong.
No results found
Fix guardObjectKey() guards the key.
4.0.0
20 May 01:49
Compare
Sorry, something went wrong.
No results found
Added:
isClass()
guardClass()
guardDefined()
Updated:
isFunction()
isInstance()
isObject()
guardFunction()
guardInstance()
guardObject()
guardObjectKey()