- Preparing search index...
- The search index is not available
Kombo - v3.0.0
- chompWhile1<PROBLEM, A>(problem: PROBLEM, isGood: ((char: string, state: A) => [boolean, A]), init: A): Parser.Parser<Symbol, never, PROBLEM>
-
Parameters
-
problem: PROBLEM
-
isGood: ((char: string, state: A) => [boolean, A])
-
- (char: string, state: A): [boolean, A]
-
Returns [boolean, A]
-
init: A
Returns Parser.Parser<Symbol, never, PROBLEM>
- chompWhile1<PROBLEM>(problem: PROBLEM, isGood: ((char: string) => boolean)): Parser.Parser<Symbol, never, PROBLEM>
-
Parameters
-
problem: PROBLEM
-
isGood: ((char: string) => boolean)
-
- (char: string): boolean
-
Returns boolean
Returns Parser.Parser<Symbol, never, PROBLEM>
Just like Simple.chompWhile1