typeof determines the (R internal) type or storage mode of any object x. It returns a character string.
typeof
x
typeof(x)
mode, storage.mode.
mode
storage.mode
typeof(2) mode(2)