Indicates if there is a grapheme cluster boundary between a and b.
Legacy function. Does not cover cases where a sequence of code points is
required in order to decide if there is a grapheme cluster boundary, such as
emoji modifier sequences and emoji flag sequences. To cover all cases please
use hasGraphemeBreakStrings
.
There are two kinds of grapheme clusters: 1) Legacy 2) Extended. This method
is to check for both using a boolean flag to switch between them. If no flag
is provided rules for the extended clusters will be used by default.
Parameters | a | number | | The code point value of the first character.
| b | number | | The code point value of the second character.
| opt_extended | boolean= | | If true, indicates extended grapheme cluster;
If false, indicates legacy cluster. Default value is true.
|
|
---|
Returns | boolean | True if there is a grapheme cluster boundary between
a and b; False otherwise.
|
|
---|