Package io.quarkus.qute
Class Booleans
java.lang.Object
io.quarkus.qute.Booleans
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanA value is considered falsy if it's null, "not found" as defined byResults.isNotFound(Object), {code false}, an empty collection, an empty map, an empty array, an empty string/char sequence or a number equal to zero.
-
Method Details
-
isFalsy
A value is considered falsy if it's null, "not found" as defined byResults.isNotFound(Object), {code false}, an empty collection, an empty map, an empty array, an empty string/char sequence or a number equal to zero.- Parameters:
value-- Returns:
trueif the value is falsy
-