UNPKG

parjs

Version:

Library for building parsers using combinators.

9 lines 353 B
import type { ParjsCombinator } from "../../"; import type { ParjsValidator } from "../parjser"; /** * Applies the source parser and makes sure its result fulfills `predicate`. * * @param predicate The condition to check for. */ export declare function must<T>(predicate: ParjsValidator<T>): ParjsCombinator<T, T>; //# sourceMappingURL=must.d.ts.map