parjs
Version:
Library for building parsers using combinators.
8 lines • 296 B
TypeScript
import type { Parjser } from "../parjser";
/**
* Returns a parser that succeeds without consuming input and yields the constant `value`.
*
* @param value The value the returned parser will yield.
*/
export declare function result<T>(value: T): Parjser<T>;
//# sourceMappingURL=result.d.ts.map