The isArray() method tests if the provided value is an Array and returns a boolean value.

Syntax

bapi.helper.isArray(value)

Parameters

value

The value to test.

Example

bapi.helper.isArray("Test Value.");//returns false
bapi.helper.isArray([1,2,5]);//returns true
bapi.helper.isArray(125);//returns false