@enigmaoffline/node-exp-solver
Version:
Mathematical expression solver / Reverse Polish Notation calculator for NodeJS
14 lines (13 loc) • 367 B
TypeScript
interface OpMapType {
[key: string]: number;
}
export declare class Aux {
static precMap: OpMapType;
static assoMap: OpMapType;
static funcMap: OpMapType;
static isOP: (op: string) => boolean;
static isLA: (op: string) => boolean;
static isPA: (op: string) => boolean;
static validate: (tokens: Array<string>) => boolean;
}
export {};