Skip to main content

fromCodepointToUnicode

Callable

  • fromCodepointToUnicode(codepoint: number[]): Unicode

  • This function will convert an array of numerical codepoints to a literal emoji Unicode character.

    import { fromCodepointToUnicode } from 'emojibase';
    fromCodepointToUnicode([128104, 8205, 128105, 8205, 128103, 8205, 128102]); // ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ