You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
331 B

3 months ago
  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. */
  8. export declare function parse(formula: string): [a: number, b: number];
  9. //# sourceMappingURL=parse.d.ts.map