R/s_type.R
s_type.Rd
Know the type of an object.
s_type(.x, .abbr = FALSE) s_unit(.x)
An object.
A logical. If TRUE, the abbreviation of the type is returned.
TRUE
A character.
s_type(1:10) #> [1] "integer" s_type(letters) #> [1] "character"