NAME

isarray - test if a value is an array

SYNOPSIS

val.isarray()

DESCRIPTION

The isarray() method tests whether val is an array or a list.

RETURN VALUE

true if val is an array or list, false otherwise.

ERRORS

None.

EXAMPLE

    a = [1, 2, 3]
    a.isarray() // returns true

    b = 42
    b.isarray() // returns false

SEE ALSO

typeof
isnumeric