Ruby TypeOf

object.is_a?(String)
Wide-eyed Willet