R/is_misc.R
is.12.Rd
does this vector only contains 1 and 2
is.12(x)
a vector
a boolean
is.12(c(1,1,2,1,2)) #> [1] TRUE is.12(c(1,1,2,1,5)) #> [1] FALSE