< Back to IRCAM Forum

A function for get object type?

Dear friends,

small question concerning ModaLisp:
do we have a function to get the object type of a object stored in a variable?

For example:
(setf mystring (make-object 'bi-string))
(get-object-type mystring) ==> 'bi-string

Thank you in advance for ideas and helps!

Best wishes,
Jialin