parjs
Version:
Library for building parsers using combinators.
8 lines • 336 B
TypeScript
import type { Parjser, ParjsValidator } from "../parjser";
/**
* Returns a parser that parses a single character fulfilling `predicate`.
*
* @param predicate The predicate the character has to fulfill.
*/
export declare function charWhere(predicate: ParjsValidator<string>): Parjser<string>;
//# sourceMappingURL=char-where.d.ts.map