Материал из Module developer
Перейти к: навигация, поиск

B.isArray

to check the initial value for being an array

Syntax

B.isArray (operand)

input sample description
operand [1, 2, 3] type: Operand
the initial value
output
Boolean type: Boolean
the result: 0 - not an array, 1 - an array


Example:

var check = B.isArray([1, 2, 3]); // returns "true"