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

    Function patternPaths

    • Returns paths to matching elements in a CBOR value.

      Parameters

      • pattern: Pattern

        The pattern to match

      • haystack: Cbor

        The CBOR value to search

      Returns Path[]

      Array of paths to matching elements