Add more types
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
caefefc2c2
commit
d3c69e0d04
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export const EMOTICON_TO_EMOJI = new Map<string, IEmoji>();
|
||||||
|
|
||||||
export const getEmojiFromUnicode = unicode => UNICODE_TO_EMOJI.get(stripVariation(unicode));
|
export const getEmojiFromUnicode = unicode => UNICODE_TO_EMOJI.get(stripVariation(unicode));
|
||||||
|
|
||||||
const isRegionalIndicator = (x: string) =>
|
const isRegionalIndicator = (x: string): boolean =>
|
||||||
Array.from(x).length === 1 && x >= '\u{1f1e6}' && x <= '\u{1f1ff}';
|
Array.from(x).length === 1 && x >= '\u{1f1e6}' && x <= '\u{1f1ff}';
|
||||||
|
|
||||||
const EMOJIBASE_GROUP_ID_TO_CATEGORY = [
|
const EMOJIBASE_GROUP_ID_TO_CATEGORY = [
|
||||||
|
|
Loading…
Reference in a new issue