parjs
Version:
A parser-combinator library for JavaScript.
11 lines (10 loc) • 331 B
TypeScript
/**
* @module parjs/combinators
*/
/** */
import { ParjsCombinator } from "../../index";
/**
* Applies the source parser exactly `count` times, and yields all the results in an array.
* @param count The number of times to apply the source parser.
*/
export declare function exactly<T>(count: number): ParjsCombinator<T, T[]>;