Function getGrouped

  • Returns a new grouped list of IGemoji items by category.

    Example

    import { getGrouped } from "@egomobile/emoji"

    for (const { category, items } of getGrouped()) {
    console.log("Category:", category)
    console.log("\tItems:", items.map((i) => i.emoji))
    }

    Returns

    The new list.

    Returns GroupedGemojis<string>

Generated using TypeDoc