isHalfWidth function

  1. @experimental
bool isHalfWidth(
  1. String str
)

Returns true if str contains half-width Unicode characters.

Implementation

@experimental
bool isHalfWidth(String str) => halfWidthReg.hasMatch(str);