Lucee Function Reference

isarray()

Determines whether a value is an array.
True, if value is an array, a query column object, or xml.
also number = Dimension; function tests whether the array has
exactly this dimension

Example

isarray(any value,[number dimension]):boolean

Category

decision,array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
value any  Yes   Variable or array name  
dimension number  No -999 function tests whether the array has exactly this dimension.