R/def_dna.R
is_dna.Rd
This function returns TRUE for objects of class bioseq_dna
is_dna(x)
An object.
Logical.
x <- c("AGGTGC", "TTCGA") is_dna(x) #> [1] FALSE y <- dna(x) is_dna(y) #> [1] TRUE