- Preparing search index...
- The search index is not available
Kombo - v3.0.0
Function mapChompedString
- mapChompedString<A, B>(fn: ((s: string, v: A) => B)): (<CTX, PROBLEM>(parser: Parser.Parser<A, CTX, PROBLEM>) => Parser.Parser<B, CTX, PROBLEM>)
-
Parameters
-
fn: ((s: string, v: A) => B)
-
- (s: string, v: A): B
-
Returns B
Returns (<CTX, PROBLEM>(parser: Parser.Parser<A, CTX, PROBLEM>) => Parser.Parser<B, CTX, PROBLEM>)
Just like Simple.mapChompedString
See