source: trip-planner-front/node_modules/nth-check/lib/parse.d.ts@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 331 bytes
Line 
1/**
2 * Parses an expression.
3 *
4 * @throws An `Error` if parsing fails.
5 * @returns An array containing the integer step size and the integer offset of the nth rule.
6 * @example nthCheck.parse("2n+3"); // returns [2, 3]
7 */
8export declare function parse(formula: string): [a: number, b: number];
9//# sourceMappingURL=parse.d.ts.map
Note: See TracBrowser for help on using the repository browser.