(codepoint: number)
| 115 | * in Firefox, Chrome and Node. |
| 116 | */ |
| 117 | export function supportedCodepoint(codepoint: number): boolean { |
| 118 | for (let i = 0; i < allBlocks.length; i += 2) { |
| 119 | if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) { |
| 120 | return true; |
| 121 | } |
| 122 | } |
| 123 | return false; |
| 124 | } |
no outgoing calls
no test coverage detected