the-forest/client/node_modules/nth-check/lib/esm/parse.d.ts

9 lines
331 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
/**
* 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