The isArray()
method tests if the provided value is an Array and returns a boolean value.
bapi.helper.isArray(value)
value
The value to test.
bapi.helper.isArray("Test Value.");//returns false
bapi.helper.isArray([1,2,5]);//returns true
bapi.helper.isArray(125);//returns false