parjs
Version:
Library for building parsers using combinators.
11 lines • 458 B
TypeScript
/** Copyright © 2024, Oracle and/or its affiliates. */
/** @module parjs */
import type { Parjser } from "..";
/**
* Returns a parser that will parse the string `str` insensitive to its case and yield the text that
* was parsed. If it can't, it will fail softly without consuming input.
*
* @param str The string to parse case insensitively.
*/
export declare function caseString(str: string): Parjser<string>;
//# sourceMappingURL=case-string.d.ts.map