R/utils.R
checkIt.Rd
Check the length of an input value
checkIt(x, lng, type = "numeric", fixit = TRUE)
a numeric object
a character string specifying required typeof
a logical value, if TRUE force length to lng