RobotStudio event

How to get the exact type of routine?

After using GetRoutines() to get all routines in one specified module, when try to get the exact type of one routine with Type property, no matter it's function , procedure, trap, it always returns "Routine". So my question is how to get the exact type for trap to return "trap" accordingly?
Thank you!

Comments