@blockchaincommons/envelope-pattern - v1.0.0-beta.2
    Preparing search index...

    Interface MatchResult

    What a match yields: the matched paths and, by name, the captured paths.

    interface MatchResult {
        paths: readonly Path[];
        captures: ReadonlyMap<string, readonly Path[]>;
    }
    Index
    paths: readonly Path[]

    Every path the pattern matched, in match order.

    captures: ReadonlyMap<string, readonly Path[]>

    The paths each capture name matched, in match order.