asBoolean

This expression as a condition: unchanged if it is one, otherwise evaluated as a boolean.