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
|
edit
The index which to check |
Examples
edit water = ["sea","river","well","bottle"];
writeDump(water.indexexists(0));
writeDump(water.indexexists(4));
writeDump(water.indexexists(5));