IsArray
Determine whether a value is an array
Method Signature
IsArray(value=[any], number=[numeric])Arguments
Argument
Type
Required
Description
Default
value
any
true
The value to test for array-ness.
number
numeric
false
If passed, the array dimension to test.
Examples
simple isArray example
colorArray = [
"yellow",
"green",
"red"
];
writeOutput( isArray( colorArray ) );
Result: yes
simple isArray example
Result: true
isArray example with number
Result: yes
isArray example with number
Result: true
Additional Examples
Related
Last updated
Was this helpful?
