blob: 7a13857fbedd0f130810088e20afad1042d21cf9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import assertString from './util/assertString';
/* eslint-disable no-control-regex */
var multibyte = /[^\x00-\x7F]/;
/* eslint-enable no-control-regex */
export default function isMultibyte(str) {
assertString(str);
return multibyte.test(str);
}
|