rayP geomland.ray? :x outputs "true if :x is a ray, else outputs "false . Definition:
to geomland.ray? :x output "ray = type :x end