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

    Function pathsWithCaptures

    • Every path the pattern matches in haystack, with the paths each capture name matched; the result and its arrays are frozen.

      Parameters

      • pattern: Pattern
      • haystack: Envelope

      Returns MatchResult

      If pattern is not a Pattern or haystack is not an Envelope