Releases: angular-package/type
Releases · angular-package/type
4.2.0
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
Compare
Sorry, something went wrong.
No results found
4.1.3
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
Compare
Sorry, something went wrong.
No results found
4.1.1
Compare
Sorry, something went wrong.
No results found
4.1.0
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
Compare
Sorry, something went wrong.
No results found
4.0.2
Compare
Sorry, something went wrong.
No results found
4.0.1
Compare
Sorry, something went wrong.
No results found
Fix guardObjectKey() guards the key.
4.0.0
Compare
Sorry, something went wrong.
No results found
Added:
isClass()
guardClass()
guardDefined()
Updated:
isFunction()
isInstance()
isObject()
guardFunction()
guardInstance()
guardObject()
guardObjectKey()