public final class Bools extends Object
Expression Object for performing boolean operations inside Thymeleaf Standard Expressions.
An object of this class is usually available in variable evaluation expressions with the name #bools.
Constructor and Description |
---|
Bools() |
Modifier and Type | Method and Description |
---|---|
Boolean |
arrayAnd(Object[] target) |
Boolean[] |
arrayIsFalse(Object[] target) |
Boolean[] |
arrayIsTrue(Object[] target) |
Boolean |
arrayOr(Object[] target) |
Boolean |
isFalse(Object target) |
Boolean |
isTrue(Object target) |
Boolean |
listAnd(List<?> target) |
List<Boolean> |
listIsFalse(List<?> target) |
List<Boolean> |
listIsTrue(List<?> target) |
Boolean |
listOr(List<?> target) |
Boolean |
setAnd(Set<?> target) |
Set<Boolean> |
setIsFalse(Set<?> target) |
Set<Boolean> |
setIsTrue(Set<?> target) |
Boolean |
setOr(Set<?> target) |
Copyright © 2016 The THYMELEAF team. All rights reserved.