From Documentation

Jump to: navigation, search

boolean boolean(Object value);
i.e., CommonFns.toBoolean(Object)

Converts the specified object to a boolean.

Notice that EL will convert the type automatically, so you rarely need this method. Please refer to Type Coercion for details.


  • value - the value to convert

Version History

Last Update : 2010/12/17

Version Date Content

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.