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

    Function convertDcborPatternToEnvelopePattern

    • Convert a dcbor-pattern Pattern to a bc-envelope-pattern Pattern.

      This function serves as the bridge between the two pattern systems, allowing dcbor-pattern expressions to be used in envelope pattern contexts.

      Parameters

      • dcborPattern: Pattern

        The dcbor-pattern Pattern to convert

      Returns Result<Pattern>

      The converted envelope pattern, or an error if conversion fails