Preparing search index...

    Type Alias FuzzySearchResult<T>

    Result of a fuzzy search operation

    type FuzzySearchResult<T> = {
        exact?: T;
        similar: T[];
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    exact?: T

    Exact match if found (case-insensitive), undefined otherwise

    similar: T[]

    Similar items sorted by relevance score (empty if exact match found)