isHalfWidth function

bool isHalfWidth(
  1. String str
)

check if the string contains any half-width chars

Implementation

bool isHalfWidth(String str) => _halfWidth.hasMatch(str);