• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * @author Toru Nagashima <https://github.com/mysticatea>
3 */
4"use strict";
5
6/**
7 * Check whether a given character is an emoji modifier.
8 * @param {number} code The character code to check.
9 * @returns {boolean} `true` if the character is an emoji modifier.
10 */
11module.exports = function isEmojiModifier(code) {
12    return code >= 0x1F3FB && code <= 0x1F3FF;
13};
14