Lime Web Components API Documentation - v7.4.0
    Preparing search index...

    Interface SearchHitCountBeta

    The number of objects of a single limetype that matched a search.

    interface SearchHitCount {
        totalCount: number | null;
    }
    Index

    Properties

    Properties

    totalCount: number | null

    Number of matching objects of this limetype.

    A limetype named in SearchOptions.limetypes is reported even when it has no hits, and the platform reports that as null rather than 0. Coalesce before using the value: totalCount ?? 0.