]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js
2 * @author Toru Nagashima <https://github.com/mysticatea>
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.
11 module
.exports
= function isRegionalIndicatorSymbol(code
) {
12 return code
>= 0x1F1E6 && code
<= 0x1F1FF;