type.index

Syntax

i := type.index(p)

Get the type index. This is a unique integer representing each pointer type and can be used to distinguish different pointers from one another.

Returns:

i - type index

Arguments:

p - pointer