Check input for specific datatype

Hello, I was wondering if there is a way to determine the datatype with a little c# script? Basically I was thinking to set a input for a c# component to GeometryBase and then check inside the component if the input is a mesh or a brep for example. I guess I’m looking for something like this: x.isMesh();

Is there a way to do this?
All the best

Either this:

Ot that:


Super quick reply, cheers, exactly what I was looking for!

Get this as well

GeometryBase_Query_EntryLevel_V1.3dm (1.5 MB) (123.9 KB)