array.indexExists()

Returns whether there exists an item in the array at the selected index.

array.indexExists( index=number )

Returns: Boolean

Argument Description
index
number, required

The index which to check

Examples

water = ["sea","river","well","bottle"];
	writeDump(water.indexexists(0));
	writeDump(water.indexexists(4));
	writeDump(water.indexexists(5));

See also