| Return type | Name and parameters |
|---|---|
Boolean
|
and(Boolean right)
Logical conjunction of two boolean operators. |
boolean
|
asBoolean()
Coerce a Boolean instance to a boolean value. |
Boolean
|
implies(Boolean right)
Logical implication of two boolean operands. |
Boolean
|
or(Boolean right)
Logical disjunction of two boolean operators |
Boolean
|
toBoolean()
Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean. |
Boolean
|
xor(Boolean right)
Exclusive disjunction of two boolean operators |
addShutdownHook, any, any, asBoolean, asType, collect, collect, collect, dump, each, eachMatch, eachMatch, eachWithIndex, every, every, find, find, findAll, findAll, findIndexOf, findIndexOf, findIndexValues, findIndexValues, findLastIndexOf, findLastIndexOf, findResult, findResult, findResult, findResult, getAt, getMetaClass, getMetaPropertyValues, getProperties, grep, grep, hasProperty, identity, inject, inject, inspect, invokeMethod, is, isCase, isNotCase, iterator, metaClass, print, print, printf, printf, println, println, println, putAt, respondsTo, respondsTo, setMetaClass, split, sprintf, sprintf, stream, tap, toString, use, use, use, with, with, withCloseable, withMethodClosure, withStream, withTraits
Logical conjunction of two boolean operators.
right - right operatorCoerce a Boolean instance to a boolean value.
// you can omit ".asBoolean()" assert Boolean.TRUE.asBoolean() assert !Boolean.FALSE.asBoolean()
Logical implication of two boolean operands.
Logical disjunction of two boolean operators
right - right operatorIdentity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.