determining an objects type?

BlitzMax Forums/BlitzMax Beginners Area/determining an objects type?

if foo(x) print "x is a foo"
...works I think.