7cfa8e2d5292402e730a9c31478a9cad862271101d84da5b9f2e307ec31d08c913e5d68920c921804f994a2270989a265e23ce1dd815ce57e1df54eacffd09 397 B

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