mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
9 lines
331 B
TypeScript
9 lines
331 B
TypeScript
/**
|
|
* Parses an expression.
|
|
*
|
|
* @throws An `Error` if parsing fails.
|
|
* @returns An array containing the integer step size and the integer offset of the nth rule.
|
|
* @example nthCheck.parse("2n+3"); // returns [2, 3]
|
|
*/
|
|
export declare function parse(formula: string): [a: number, b: number];
|
|
//# sourceMappingURL=parse.d.ts.map
|