Function findAll

  • Finds all IGemoji items by a filter that is used with the description of each item.

    Example

    import { findAll } from "@egomobile/emoji"

    // is case-insensitive
    const allFacesByString = findAll("face")
    console.log("allFacesByString", allFacesByString)

    // same with RegEx
    const allFacesByRegex = findAll(/(face)/i)
    console.log("allFacesByRegex", allFacesByRegex)

    Returns

    The matching items.

    Parameters

    • filter: string | RegExp

      The filter.

    Returns IGemoji[]

Generated using TypeDoc