Couldn't find anything on the wiki, so I thought I'd ask here: is there a way to check the current type of a variable? I'm trying to calculate the dV of each individual stage of a rocket. My first thought was to iterate over all the parts and collect the necessary information that way, but there doesn't seem to be a way to differentiate which parts are engines and which aren't.