Description Usage Arguments Value Examples
is_course
determines whether or not a given course number
is valid. Valid course numbers are 180 and 200.
is_quarter
determines whether or not a given quarter
name is valid. Valid values include "AU" (Autumn), "WI" (Winter),
"SP" (Spring), and "SU" (Summer)
is_section
Determines whether or not a given section name
is valid. Section names are letters A-Z. When more than 26 sections exist,
two letter codes are used.
is_drug
Determines whether or not a given antibiotic
is valid (in the context of the courses)
is_drug_abbr
Determines whether or not a given
abbreviated antibiotic is valid (in the context of the courses)
is_strain_id
Determines whether or not a given
string is a valid strain ID. Valid strain IDs contain two uppercase letters
followed by three digits.
1 2 3 4 5 6 7 8 9 10 11 | is_course(x)
is_quarter(x)
is_section(x)
is_drug(x)
is_drug_abbr(x)
is_strain_id(x)
|
x |
Value to test |
Logical value indicating whether or not input x
is a valid
value
1 2 3 4 5 6 | is_course(180)
is_quarter("WI")
is_section("C")
is_drug("Streptomycin")
is_drug("STR")
is_strain_id("AG103")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.