v0.4.0
·
146 commits
to main
since this release
v0.4.0 Release
Release notes
Adds various type guards for ease of developer use.
Notable features:
CollectionUtils.isEmptywill now returncollection is undefined, signifying that the collection should not be trusted to pull values out of.CollectionUtils.hasValuesandCollectionUtils.isNotEmptyreturncollection is any[] | Immutable.List<any>, signifying that the collection is both non-null and contains at least one value. This should alleviate the need to force the TS compiler with!after calling it on a collection.StringUtils.isEmptyandStringUtils.hasValuenow returnvalue is string
Known issues
#73 Identify and add Type Guards to methods that return a boolean