length

From Documentation
int length(Object value);
i.e., CommonFns.length(Object)

Returns the length of a string, array, collection or map.

Notice that there is a bulit-in operator to test if a string/array/collection/map is empty:

${empty foo}

Version History

Last Update : 2010/12/17


Version Date Content
     



Last Update : 2010/12/17

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