- Preparing search index...
- The search index is not available
Kombo - v3.0.0
- chompWhile1<A>(isGood: ((char: string, state: A) => [boolean, A]), init: A): Simple.Parser<Symbol>
-
Parameters
-
isGood: ((char: string, state: A) => [boolean, A])
-
- (char: string, state: A): [boolean, A]
-
Returns [boolean, A]
-
init: A
- chompWhile1<A>(isGood: ((char: string) => boolean)): Simple.Parser<Symbol>
-
Parameters
-
isGood: ((char: string) => boolean)
-
- (char: string): boolean
-
Returns boolean
Like chompWhile but requires at least one character to pass the test.