Onetastic Macro Documentation >
>
>
IsArray IsArray
Returns whether a given expression is an array or not.
Syntax
Bool IsArray(Mixed expression)
Parameters
- Mixed expression
- Expression to check for.
Examples
IsArray(Array())
IsArray(Array(1, 2, 3))
IsArray(true)
IsArray("string")
IsArray(GetCurrentSection().pages)
|