pipe
DDataParser.pipe(input, output) composes two parsers: the first validates/transforms the input, then its result is passed to the second. Handy to chain coercion → strict validation → transformation without writing manual logic.
Interactive example
Parameters
input: first parser executed on the input.output: parser executed on the output ofinput.checkers:checkerRefineor other helpers applied onOutput<output>.errorMessage: generic message if the pipeline fails.
Return value
A DataParserPipe. schema.parse(data) runs input, then output if input succeeded. On failure, you receive DEither.error<DataParserError> with a path and trace consistent with the faulty stage.
Other examples
Extended mode
In extended mode (DPE), pipe also exists as a method: DPE.someParser().pipe(otherParser).
It is a wrapper around DPE.pipe(self, otherParser) exposed by scripts/dataParser/baseExtended.ts.
