TypeInfo.IsPointer

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aTypeInfo.IsPointer

Supported for all project types and targets.

True if the datatype represents a Ptr or one of the other external pointer types.