R/problems.R
dot-got.Rd
Like type_of(), but a scalar also shows its value – which is usually the thing the reader needs.
type_of()
.got(x)
Any R value.
A single string.
rdantic:::.got(1.5) #> [1] "num[1] 1.5" rdantic:::.got(c(1, 2)) #> [1] "num[2]"