Urara-Blog/node_modules/.pnpm-store/v3/files/bc/7cfa8e2d5292402e730a9c31478a9cad862271101d84da5b9f2e307ec31d08c913e5d68920c921804f994a2270989a265e23ce1dd815ce57e1df54eacffd09
2022-08-14 01:14:53 +08:00

13 lines
397 B
Text

/**
* @author Toru Nagashima <https://github.com/mysticatea>
*/
"use strict";
/**
* Check whether a given character is a regional indicator symbol.
* @param {number} code The character code to check.
* @returns {boolean} `true` if the character is a regional indicator symbol.
*/
module.exports = function isRegionalIndicatorSymbol(code) {
return code >= 0x1F1E6 && code <= 0x1F1FF;
};