mimekit-ts - v1.0.0
    Preparing search index...

    Interface TrieSearchResult

    The result of searching an Aho-Corasick trie.

    interface TrieSearchResult {
        index: number;
        pattern: string | null;
    }
    Index
    index: number

    The first index of a matched pattern, or -1 if no pattern matched.

    pattern: string | null

    The pattern that matched, or null if no pattern matched.