main
|
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 12 months ago |
|
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
|
File size:
397 bytes
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * @author Toru Nagashima <https://github.com/mysticatea>
|
|---|
| 3 | */
|
|---|
| 4 | "use strict";
|
|---|
| 5 |
|
|---|
| 6 | /**
|
|---|
| 7 | * Check whether a given character is a regional indicator symbol.
|
|---|
| 8 | * @param {number} code The character code to check.
|
|---|
| 9 | * @returns {boolean} `true` if the character is a regional indicator symbol.
|
|---|
| 10 | */
|
|---|
| 11 | module.exports = function isRegionalIndicatorSymbol(code) {
|
|---|
| 12 | return code >= 0x1F1E6 && code <= 0x1F1FF;
|
|---|
| 13 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.