Xojo.Introspection.TypeInfo.IsValueType

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aXojo.Introspection.TypeInfo.IsValueType

Supported for all project types and targets.

Indicates the item is a value type, which means it is not a reference. With value types, assignments copy the value itself rather than the reference to the value. Primitive, pointer, structure and enum types are all value types.