Package io.quarkus.qute
Class Booleans
- java.lang.Object
-
- io.quarkus.qute.Booleans
-
public final class Booleans extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisFalsy(Object value)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.
-
-
-
Method Detail
-
isFalsy
public static boolean isFalsy(Object value)
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
-
-