isVariableWidth function

bool isVariableWidth (
  1. String str
)

check if the string contains a mixture of full and half-width chars

Implementation

bool isVariableWidth(String str) {
  return isFullWidth(str) && isHalfWidth(str);
}