MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / getUnicodeRange

Function getUnicodeRange

libraries/p5.js:6193–6202  ·  view source on GitHub ↗
(unicode)

Source from the content-addressed store, hash-verified

6191];
6192
6193function getUnicodeRange(unicode) {
6194 for (var i = 0; i < unicodeRanges.length; i += 1) {
6195 var range = unicodeRanges[i];
6196 if (unicode >= range.begin && unicode < range.end) {
6197 return i;
6198 }
6199 }
6200
6201 return -1;
6202}
6203
6204// Parse the OS/2 and Windows metrics `OS/2` table
6205function parseOS2Table(data, start) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected