Hold the Option key (⌥) and hover your mouse over a variable or function. A popup will appear showing the type or function signature.
⌥