Lib-util 1.1.2 released


A minor, but nice, update to our lib-util (the assistive JavaScript toolkit for any XP developer) is live on market (and our Maven repo).

It only has a new function called isSet() in the data.js package. Use it to check if a value is set (even false). Examples: it returns true if model.bananas = true and model.checkbox = false, it will return false if the property is not set at all. This is very handy when checking for values that might be set to false or 0 (integer) since they will evaluate to false in conditions like these if (value) { and give unexpected results.

We also improved the docs (the root readme) a bit, and upgraded to Gradle 3 (wrappers included, i you need to build yourself).

1 Like