toBoolean()

Returns FALSE when the value is 0. Returns TRUE for any other value.

Syntax

Boolean toBoolean()