backend v4 half
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import assertString from './util/assertString';
|
||||
import { fullWidth } from './isFullWidth';
|
||||
import { halfWidth } from './isHalfWidth';
|
||||
export default function isVariableWidth(str) {
|
||||
assertString(str);
|
||||
return fullWidth.test(str) && halfWidth.test(str);
|
||||
}
|
||||
Reference in New Issue
Block a user