isCodePointInRanges static method
Multiple ranges version of isCodePointInRange. Assumes
multipleRanges
only contains lists that are two element list of
integers.
Implementation
static bool isCodePointInRanges(
int codePoint, List<List<int>> multipleRanges) {
for (List<int> ranges in multipleRanges) {
if (isCodePointInRange(codePoint, ranges)) {
return true;
}
}
return false;
}