TypeInfo.IsValueType

From Xojo Documentation

Property (As Boolean )
aTypeInfo.IsValueType = newBooleanValue
or
BooleanValue = aTypeInfo.IsValueType

Supported for all project types and targets.

True if the datatype represents a value type. Value types are those which are not references. Assignment copies the value itself, rather than a reference to a piece of data. Primitive, pointer, structure, and enum types are all value types.