Function ilike

  • Searches an array of objects for those that match a given search query based on a specific key.

    Returns

    an array of objects that contain a matching key-value pair

    Parameters

    • array: any[]

      the input array of objects

    • key: string

      the key to search for a match in the objects in the array

    • query: string

      the search query to match against the value of the specified key

    Returns any[]

Generated using TypeDoc