isHours function

bool isHours(
  1. String code
)

Implementation

bool isHours(String code) => <String>[
      'hours',
      'hour',
      "'hour'",
      'h',
    ].contains(code);