| 689 | * @since 4.0.6 |
| 690 | */ |
| 691 | export const decodeSchema = <S extends Schema.Constraint>( |
| 692 | schema: S |
| 693 | ) => |
| 694 | <IE = never, Done = unknown>(options?: DecodeOptions): Channel.Channel< |
| 695 | Arr.NonEmptyReadonlyArray<S["Type"]>, |
| 696 | Schema.SchemaError | JsonArrayError | IE, |
| 697 | Done, |
| 698 | Arr.NonEmptyReadonlyArray<Uint8Array>, |
| 699 | IE, |
| 700 | Done, |
| 701 | S["DecodingServices"] |
| 702 | > => Channel.pipeTo(decode(options), ChannelSchema.decodeUnknown(schema)()) |
| 703 | |
| 704 | const stringify = (value: unknown): string => { |
| 705 | let output: string | undefined |