summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/nth-check/lib/esm/parse.d.ts
blob: b4f817b6fece23fea79198862d707d28d437d6aa (plain)
1
2
3
4
5
6
7
8
9
/**
 * 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