BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function asTaggedValue

    • Extract tagged value as tuple [Tag, Cbor] if CBOR is tagged. This is used by envelope for decoding.

      Parameters

      • cbor: Cbor

        CBOR value

      Returns [Tag, Cbor] | undefined

      [Tag, Cbor] tuple or undefined