Rest
...ps: Matcher<TToken, TOptions, TValue | TValue[]>[]Matchers sequence. Each parser can return a match with a value or an array of values.
Make a parser that concatenates values from all provided parsers into a single array while flattening value arrays.
Nonmatch is returned if any of parsers didn't match.
Rest
...ps: Parser<TToken, TOptions, TValue | TValue[]>[]Parsers sequence. Each parser can return a match with a value or an array of values.
Generated using TypeDoc
This overload makes a Matcher that concatenates values from all provided Matchers into a single array while flattening value arrays.
Implementation is based on all and flatten1.