The GetType function retrieves the object type ID of the specified item.
Syntax
Integer Array.GetType(
Integer index)
Integer index)
Parameters
| index | Index of the item. | Required |
|---|
Return value
The GetType function returns the object type ID.
If an error occurs, the GetType function returns 0.
Example
if myArray.GetType(5)==Value.ID
end
end