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

    Type Alias LeafPattern

    LeafPattern:
        | { type: "Cbor"; pattern: CborPattern }
        | { type: "Number"; pattern: DcborNumberPattern }
        | { type: "Text"; pattern: DcborTextPattern }
        | { type: "ByteString"; pattern: DcborByteStringPattern }
        | { type: "Tagged"; pattern: DcborTaggedPattern }
        | { type: "Array"; pattern: DcborArrayPattern }
        | { type: "Map"; pattern: DcborMapPattern }
        | { type: "Bool"; pattern: DcborBoolPattern }
        | { type: "Null"; pattern: DcborNullPattern }
        | { type: "Date"; pattern: DcborDatePattern }
        | { type: "KnownValue"; pattern: DcborKnownValuePattern }

    A leaf pattern: a dCBOR pattern applied to the subject's CBOR.

    Type Declaration

    • { type: "Cbor"; pattern: CborPattern }
      • Readonlytype: "Cbor"

        The discriminant.

      • Readonlypattern: CborPattern

        The pattern.

    • { type: "Number"; pattern: DcborNumberPattern }
      • Readonlytype: "Number"

        The discriminant.

      • Readonlypattern: DcborNumberPattern

        The pattern.

    • { type: "Text"; pattern: DcborTextPattern }
      • Readonlytype: "Text"

        The discriminant.

      • Readonlypattern: DcborTextPattern

        The pattern.

    • { type: "ByteString"; pattern: DcborByteStringPattern }
      • Readonlytype: "ByteString"

        The discriminant.

      • Readonlypattern: DcborByteStringPattern

        The pattern.

    • { type: "Tagged"; pattern: DcborTaggedPattern }
      • Readonlytype: "Tagged"

        The discriminant.

      • Readonlypattern: DcborTaggedPattern

        The pattern; its paths and captures collapse to the envelope.

    • { type: "Array"; pattern: DcborArrayPattern }
      • Readonlytype: "Array"

        The discriminant.

      • Readonlypattern: DcborArrayPattern

        The pattern.

    • { type: "Map"; pattern: DcborMapPattern }
      • Readonlytype: "Map"

        The discriminant.

      • Readonlypattern: DcborMapPattern

        The pattern.

    • { type: "Bool"; pattern: DcborBoolPattern }
      • Readonlytype: "Bool"

        The discriminant.

      • Readonlypattern: DcborBoolPattern

        The pattern.

    • { type: "Null"; pattern: DcborNullPattern }
      • Readonlytype: "Null"

        The discriminant.

      • Readonlypattern: DcborNullPattern

        The pattern.

    • { type: "Date"; pattern: DcborDatePattern }
      • Readonlytype: "Date"

        The discriminant.

      • Readonlypattern: DcborDatePattern

        The pattern.

    • { type: "KnownValue"; pattern: DcborKnownValuePattern }
      • Readonlytype: "KnownValue"

        The discriminant.

      • Readonlypattern: DcborKnownValuePattern

        The pattern.