prepareEmojiForIconsList

external fun prepareEmojiForIconsList(icons: dynamic, rawTestData: String = definedExternally): PreparedEmojiResult

Prepare an emoji to icon name map for matching emojis in text.

Parameters

icons

emoji sequences, keyed by emoji, with the icon name as value.

rawTestData

contents of emoji-test.txt from unicode.org, used to find missing emojis and optimise the regular expression.