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