UNPKG

2.26 kBTypeScriptView Raw
1export declare enum charCodes {
2 backSpace = 8,
3 lineFeed = 10,
4 carriageReturn = 13,
5 shiftOut = 14,
6 space = 32,
7 exclamationMark = 33,
8 quotationMark = 34,
9 numberSign = 35,
10 dollarSign = 36,
11 percentSign = 37,
12 ampersand = 38,
13 apostrophe = 39,
14 leftParenthesis = 40,
15 rightParenthesis = 41,
16 asterisk = 42,
17 plusSign = 43,
18 comma = 44,
19 dash = 45,
20 dot = 46,
21 slash = 47,
22 digit0 = 48,
23 digit1 = 49,
24 digit2 = 50,
25 digit3 = 51,
26 digit4 = 52,
27 digit5 = 53,
28 digit6 = 54,
29 digit7 = 55,
30 digit8 = 56,
31 digit9 = 57,
32 colon = 58,
33 semicolon = 59,
34 lessThan = 60,
35 equalsTo = 61,
36 greaterThan = 62,
37 questionMark = 63,
38 atSign = 64,
39 uppercaseA = 65,
40 uppercaseB = 66,
41 uppercaseC = 67,
42 uppercaseD = 68,
43 uppercaseE = 69,
44 uppercaseF = 70,
45 uppercaseG = 71,
46 uppercaseH = 72,
47 uppercaseI = 73,
48 uppercaseJ = 74,
49 uppercaseK = 75,
50 uppercaseL = 76,
51 uppercaseM = 77,
52 uppercaseN = 78,
53 uppercaseO = 79,
54 uppercaseP = 80,
55 uppercaseQ = 81,
56 uppercaseR = 82,
57 uppercaseS = 83,
58 uppercaseT = 84,
59 uppercaseU = 85,
60 uppercaseV = 86,
61 uppercaseW = 87,
62 uppercaseX = 88,
63 uppercaseY = 89,
64 uppercaseZ = 90,
65 leftSquareBracket = 91,
66 backslash = 92,
67 rightSquareBracket = 93,
68 caret = 94,
69 underscore = 95,
70 graveAccent = 96,
71 lowercaseA = 97,
72 lowercaseB = 98,
73 lowercaseC = 99,
74 lowercaseD = 100,
75 lowercaseE = 101,
76 lowercaseF = 102,
77 lowercaseG = 103,
78 lowercaseH = 104,
79 lowercaseI = 105,
80 lowercaseJ = 106,
81 lowercaseK = 107,
82 lowercaseL = 108,
83 lowercaseM = 109,
84 lowercaseN = 110,
85 lowercaseO = 111,
86 lowercaseP = 112,
87 lowercaseQ = 113,
88 lowercaseR = 114,
89 lowercaseS = 115,
90 lowercaseT = 116,
91 lowercaseU = 117,
92 lowercaseV = 118,
93 lowercaseW = 119,
94 lowercaseX = 120,
95 lowercaseY = 121,
96 lowercaseZ = 122,
97 leftCurlyBrace = 123,
98 verticalBar = 124,
99 rightCurlyBrace = 125,
100 tilde = 126,
101 nonBreakingSpace = 160,
102 oghamSpaceMark = 5760,
103 lineSeparator = 8232,
104 paragraphSeparator = 8233
105}
106export declare function isDigit(code: number): boolean;