Adds typescript guards for some basic type checks like:
isString
isNumber
isBoolean
isDefined
- ...
This helps for readable code like:
if(isDefined(weight) && isDefined(height)){
const total = weight * height
}
or
informations
.filter(isDefined)
.map(i => i['note'])