UNPKG

@mojir/lits

Version:

Lits is a pure functional programming language implemented in TypeScript

66 lines (65 loc) 2.06 kB
export declare const numberReservedSymbolRecord: { readonly E: number; readonly '-E': number; readonly ε: number; readonly '-\u03B5': number; readonly PI: number; readonly '-PI': number; readonly π: number; readonly '-\u03C0': number; readonly PHI: number; readonly '-PHI': number; readonly φ: number; readonly '-\u03C6': number; readonly POSITIVE_INFINITY: number; readonly '\u221E': number; readonly NEGATIVE_INFINITY: number; readonly '-\u221E': number; readonly MAX_SAFE_INTEGER: number; readonly MIN_SAFE_INTEGER: number; readonly MAX_VALUE: number; readonly MIN_VALUE: number; readonly NaN: number; }; export declare const reservedSymbolRecord: { readonly E: number; readonly '-E': number; readonly ε: number; readonly '-\u03B5': number; readonly PI: number; readonly '-PI': number; readonly π: number; readonly '-\u03C0': number; readonly PHI: number; readonly '-PHI': number; readonly φ: number; readonly '-\u03C6': number; readonly POSITIVE_INFINITY: number; readonly '\u221E': number; readonly NEGATIVE_INFINITY: number; readonly '-\u221E': number; readonly MAX_SAFE_INTEGER: number; readonly MIN_SAFE_INTEGER: number; readonly MAX_VALUE: number; readonly MIN_VALUE: number; readonly NaN: number; readonly true: true; readonly false: false; readonly null: null; readonly do: null; readonly else: null; readonly case: null; readonly each: null; readonly in: null; readonly when: null; readonly while: null; readonly catch: null; readonly function: null; readonly as: null; readonly then: null; readonly end: null; readonly _: null; }; export type ReservedSymbol = keyof typeof reservedSymbolRecord; export declare function isReservedSymbol(symbol: string): symbol is keyof typeof reservedSymbolRecord; export declare function isNumberReservedSymbol(symbol: string): symbol is keyof typeof numberReservedSymbolRecord;