Files
med-notes/.pnpm-store/v10/files/95/81346747ac955ffd2bd71f6dda31cd8f3a0ddc63ed826a23183c5f24f7fd9e198e3f07df6a87321ef35bbcc2cfe02ba225a85d7203ee8cf08470c7f8b62231
2025-05-09 05:30:08 +02:00

14 lines
394 B
Plaintext

/**
* @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;
};