TypeInfo.IsEnum

From Xojo Documentation

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

Supported for all project types and targets.

True if the datatype represents an enumerated set of constants.