Xojo.Introspection.TypeInfo.IsPrimitive

From Xojo Documentation

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

Supported for all project types and targets.

Indicates the item is a primitive type, which are: Boolean, String, Text, Color, Integer, Double, Single, Currency and other numeric types.