Function IsArray

IsArray(v)
The function verifies if a variable has array indexes assigned. Example:
a = 0

b = a
b.member = 2

c = a
c[1] = 0 ' it is now array, because we assigned numeric index

d = a
d["string"] = 0 ' it is now array, because we assigned string index

if IsArray (a) ' not true
	print("a is an array")
end if

if IsArray (b) ' not true
	print("b is an array")
end if

if IsArray (c) ' true
	print("c is an array")
end if

if IsArray (d) ' true
	print("d is an array")
end if

See also: