dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Function pathsWithCaptures

    • Matches a pattern against a CBOR value and returns paths with captures.

      Parameters

      • pattern: Pattern

        The pattern to match

      • haystack: Cbor

        The CBOR value to search

      Returns MatchResult

      Match result with paths and captures