Type guard for checking if a nucleic acid is DNA
The nucleic acid to check
True if the nucleic acid is DNA, false otherwise
//pass a DNA object isDNA(new DNA()); //returns true //pass an RNA object isDNA(new RNA()); //returns false Copy
//pass a DNA object isDNA(new DNA()); //returns true //pass an RNA object isDNA(new RNA()); //returns false
Type guard for checking if a nucleic acid is DNA