Sha256: 9d3faeb8969d1b09ef91e102dd15216c6d25f67fc41191c34aa5f27aa952c07d
Contents?: true
Size: 367 Bytes
Versions: 113
Compression:
Stored size: 367 Bytes
Contents
/** * @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; };
Version data entries
113 entries across 103 versions & 4 rubygems