ecl-logo Documentation

BasePairQ

BasePairQ[item]validUnit

tests if the given item is in Units of BasePair.

Details

    Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (3)

Returns true if the quantity is in Units of BasePair:

Works regardless of metric prefixes:

Will reject things that are not in the correct Units:

Attributes  (1)

Listable  (1)

The function is listable: