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

    Function matches

    • Whether the pattern matches haystack.

      Parameters

      • pattern: Pattern
      • haystack: Envelope

      Returns boolean

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