More on if
Docs on if var.is_a?(Type)