User Tools

Site Tools


Sidebar

array:is_array

is_array()

Function to check whether an object is an array.

Usage

ar array = new Array("a", "b", "c");
if(is_array(array)) {
   //Do something if the variable is an array
}

Parameters

Parameter Data type Required Description
object all Yes The object to check

Return Values

Value Meaning
true The object is an array
false The object is not an array
array/is_array.txt · Last modified: 2017/05/20 13:00 (external edit)