kernl API
    Preparing search index...

    Function searchCatalog

    • Filter and rank store entries.

      Every search word has to match some field; entries are ordered by score, then by how recently they were published.

      Parameters

      • entries: readonly CatalogEntry[]

        The listed applets.

      • query: CatalogQuery = {}

        Text, topics, the domains the shell offers and an optional convention.

      Returns readonly CatalogEntry[]

      Matching entries, best first.

      searchCatalog(entries, { text: 'mine swep', topics: ['game'], available: kernl.grants.availableDomains() });