in reply to The instance/type of a variable

ref returns the builtin type or class name of a variable containing a reference.

After Compline,
Zaxo