ruby typeOf

object.is_a?(String)
Wide-eyed Willet