emojibase
Version:
Emojibase utility functions for working with emoji characters.
13 lines • 407 B
TypeScript
import type { Hexcode } from './types';
/**
* This function will strip zero width joiners (`200D`) and variation selectors
* (`FE0E`, `FE0F`) from a hexadecimal codepoint.
*
* ```ts
* import { stripHexcode } from 'emojibase';
*
* stripHexcode('1F468-200D-2695-FE0F'); // 1F468-2695
* ```
*/
export declare function stripHexcode(hexcode: Hexcode): Hexcode;
//# sourceMappingURL=stripHexcode.d.ts.map