Files
med-notes/.pnpm-store/v10/files/f1/eed494976b789fea4d5365a47406d6080d4efb5363fb766aa7b9841834e1f51351d2baeae45cd674df4c7ed2ac7989bc7663fe6b1284f170256634635454bf
2025-05-09 05:30:08 +02:00

14 lines
364 B
Plaintext

/**
* @author Toru Nagashima <https://github.com/mysticatea>
*/
"use strict";
/**
* Check whether a given character is an emoji modifier.
* @param {number} code The character code to check.
* @returns {boolean} `true` if the character is an emoji modifier.
*/
module.exports = function isEmojiModifier(code) {
return code >= 0x1f3fb && code <= 0x1f3ff;
};