-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathLong.html
272 lines (272 loc) · 193 KB
/
Long.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Long | mongodb</title><meta name="description" content="Documentation for mongodb"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mongodb</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mongodb</a></li><li><a href="Long.html">Long</a></li></ul><h1>Class Long</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
<p>A class representing a 64-bit integer</p>
</div><dl class="tsd-comment-tags"><dt>remarks</dt><dd><p>The internal representation of a long is the two given signed, 32-bit values.
We use 32-bit pieces because these are the size of integers on which
Javascript performs bit-operations. For operations like addition and
multiplication, we split each number into 16 bit pieces, which can easily be
multiplied within Javascript's floating-point representation without overflow
or change in sign.
In the algorithms below, we frequently reduce the negative case to the
positive case by negating the input(s) and then post-processing the result.
Note that we must ALWAYS check specially whether those values are MIN_VALUE
(-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as
a positive number, it overflows back into a negative). Not handling this
case would often result in infinite recursion.
Common constant values ZERO, ONE, NEG_ONE, etc. are found as static properties on this class.</p>
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">Long</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section tsd-is-external"><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a href="Long.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section tsd-is-external"><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#__isLong__" class="tsd-kind-icon">__is<wbr/>Long__</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#_bsontype" class="tsd-kind-icon">_bsontype</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#high" class="tsd-kind-icon">high</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#low" class="tsd-kind-icon">low</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#unsigned" class="tsd-kind-icon">unsigned</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MAX_UNSIGNED_VALUE" class="tsd-kind-icon">MAX_<wbr/>UNSIGNED_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MAX_VALUE" class="tsd-kind-icon">MAX_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MIN_VALUE" class="tsd-kind-icon">MIN_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#NEG_ONE" class="tsd-kind-icon">NEG_<wbr/>ONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#ONE" class="tsd-kind-icon">ONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#TWO_PWR_24" class="tsd-kind-icon">TWO_<wbr/>PWR_<wbr/>24</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#UONE" class="tsd-kind-icon">UONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#UZERO" class="tsd-kind-icon">UZERO</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#ZERO" class="tsd-kind-icon">ZERO</a></li></ul></section><section class="tsd-index-section tsd-is-external"><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#and" class="tsd-kind-icon">and</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#comp" class="tsd-kind-icon">comp</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#compare" class="tsd-kind-icon">compare</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#div" class="tsd-kind-icon">div</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#divide" class="tsd-kind-icon">divide</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#eq" class="tsd-kind-icon">eq</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#eqz" class="tsd-kind-icon">eqz</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#ge" class="tsd-kind-icon">ge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getHighBits" class="tsd-kind-icon">get<wbr/>High<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getHighBitsUnsigned" class="tsd-kind-icon">get<wbr/>High<wbr/>Bits<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getLowBits" class="tsd-kind-icon">get<wbr/>Low<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getLowBitsUnsigned" class="tsd-kind-icon">get<wbr/>Low<wbr/>Bits<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getNumBitsAbs" class="tsd-kind-icon">get<wbr/>Num<wbr/>Bits<wbr/>Abs</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#greaterThan" class="tsd-kind-icon">greater<wbr/>Than</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#greaterThanOrEqual" class="tsd-kind-icon">greater<wbr/>Than<wbr/>Or<wbr/>Equal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#gt" class="tsd-kind-icon">gt</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#gte" class="tsd-kind-icon">gte</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#inspect" class="tsd-kind-icon">inspect</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isEven" class="tsd-kind-icon">is<wbr/>Even</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isNegative" class="tsd-kind-icon">is<wbr/>Negative</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isOdd" class="tsd-kind-icon">is<wbr/>Odd</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isPositive" class="tsd-kind-icon">is<wbr/>Positive</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isZero" class="tsd-kind-icon">is<wbr/>Zero</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#le" class="tsd-kind-icon">le</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lessThan" class="tsd-kind-icon">less<wbr/>Than</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lessThanOrEqual" class="tsd-kind-icon">less<wbr/>Than<wbr/>Or<wbr/>Equal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lt" class="tsd-kind-icon">lt</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lte" class="tsd-kind-icon">lte</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#mod" class="tsd-kind-icon">mod</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#modulo" class="tsd-kind-icon">modulo</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#mul" class="tsd-kind-icon">mul</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#multiply" class="tsd-kind-icon">multiply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#ne" class="tsd-kind-icon">ne</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#neg" class="tsd-kind-icon">neg</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#negate" class="tsd-kind-icon">negate</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#neq" class="tsd-kind-icon">neq</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#not" class="tsd-kind-icon">not</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#notEquals" class="tsd-kind-icon">not<wbr/>Equals</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#or" class="tsd-kind-icon">or</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#rem" class="tsd-kind-icon">rem</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftLeft" class="tsd-kind-icon">shift<wbr/>Left</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftRight" class="tsd-kind-icon">shift<wbr/>Right</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftRightUnsigned" class="tsd-kind-icon">shift<wbr/>Right<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shl" class="tsd-kind-icon">shl</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shr" class="tsd-kind-icon">shr</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shr_u" class="tsd-kind-icon">shr_<wbr/>u</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shru" class="tsd-kind-icon">shru</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#sub" class="tsd-kind-icon">sub</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#subtract" class="tsd-kind-icon">subtract</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBigInt" class="tsd-kind-icon">to<wbr/>Big<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytes" class="tsd-kind-icon">to<wbr/>Bytes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytesBE" class="tsd-kind-icon">to<wbr/>BytesBE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytesLE" class="tsd-kind-icon">to<wbr/>BytesLE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toExtendedJSON" class="tsd-kind-icon">to<wbr/>ExtendedJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toInt" class="tsd-kind-icon">to<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toNumber" class="tsd-kind-icon">to<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toSigned" class="tsd-kind-icon">to<wbr/>Signed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toUnsigned" class="tsd-kind-icon">to<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#xor" class="tsd-kind-icon">xor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBigInt" class="tsd-kind-icon">from<wbr/>Big<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBits" class="tsd-kind-icon">from<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytes" class="tsd-kind-icon">from<wbr/>Bytes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytesBE" class="tsd-kind-icon">from<wbr/>BytesBE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytesLE" class="tsd-kind-icon">from<wbr/>BytesLE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromExtendedJSON" class="tsd-kind-icon">from<wbr/>ExtendedJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromInt" class="tsd-kind-icon">from<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromNumber" class="tsd-kind-icon">from<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromString" class="tsd-kind-icon">from<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromValue" class="tsd-kind-icon">from<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#isLong" class="tsd-kind-icon">is<wbr/>Long</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">new <wbr/>Long<span class="tsd-signature-symbol">(</span>low<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span>, high<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:648</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as <em>signed</em> integers.
See the from* functions below for more convenient ways of constructing Longs.</p>
</div><div><p>Acceptable signatures are:</p>
<ul>
<li>Long(low, high, unsigned?)</li>
<li>Long(bigint, unsigned?)</li>
<li>Long(string, unsigned?)</li>
</ul>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> low: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The low (signed) 32 bits of the long</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> high: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The high (signed) 32 bits of the long</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="__isLong__" class="tsd-anchor"></a><h3 class="tsd-anchor-link">__is<wbr/>Long__<a href="#__isLong__" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">__is<wbr/>Long__<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">true</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:622</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>An indicator used to reliably determine if an object is a Long or not.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="_bsontype" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_bsontype<a href="#_bsontype" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_bsontype<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Long"</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:620</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="high" class="tsd-anchor"></a><h3 class="tsd-anchor-link">high<a href="#high" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">high<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:626</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>The high 32 bits as a signed value.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="low" class="tsd-anchor"></a><h3 class="tsd-anchor-link">low<a href="#low" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">low<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:630</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>The low 32 bits as a signed value.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external"><a id="unsigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">unsigned<a href="#unsigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">unsigned<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:634</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="MAX_UNSIGNED_VALUE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> MAX_<wbr/>UNSIGNED_<wbr/>VALUE<a href="#MAX_UNSIGNED_VALUE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">MAX_<wbr/>UNSIGNED_<wbr/>VALUE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:651</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Maximum unsigned value.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="MAX_VALUE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> MAX_<wbr/>VALUE<a href="#MAX_VALUE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">MAX_<wbr/>VALUE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:663</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Maximum signed value.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="MIN_VALUE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> MIN_<wbr/>VALUE<a href="#MIN_VALUE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">MIN_<wbr/>VALUE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:665</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Minimum signed value.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="NEG_ONE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> NEG_<wbr/>ONE<a href="#NEG_ONE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">NEG_<wbr/>ONE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:661</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Signed negative one.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="ONE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> ONE<a href="#ONE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">ONE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:657</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Signed one.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="TWO_PWR_24" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> TWO_<wbr/>PWR_<wbr/>24<a href="#TWO_PWR_24" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">TWO_<wbr/>PWR_<wbr/>24<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:649</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="UONE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> UONE<a href="#UONE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">UONE<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:659</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Unsigned one.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="UZERO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> UZERO<a href="#UZERO" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">UZERO<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:655</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Unsigned zero.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="ZERO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> ZERO<a href="#ZERO" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">ZERO<span class="tsd-signature-symbol">:</span> <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></div><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:653</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Signed zero</p>
</div></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="add" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>addend<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:740</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the sum of this and the specified Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>addend: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="and" class="tsd-anchor"></a><h3 class="tsd-anchor-link">and<a href="#and" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">and<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:745</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the sum of this and the specified Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Sum</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="comp" class="tsd-anchor"></a><h3 class="tsd-anchor-link">comp<a href="#comp" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">comp<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:752</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#compare">Long.compare</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="compare" class="tsd-anchor"></a><h3 class="tsd-anchor-link">compare<a href="#compare" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">compare<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:750</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Compares this Long's value with the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></h4><div><p>0 if they are the same, 1 if the this is greater and -1 if the given one is greater</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="div" class="tsd-anchor"></a><h3 class="tsd-anchor-link">div<a href="#div" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">div<span class="tsd-signature-symbol">(</span>divisor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:759</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#divide">Long.divide</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>divisor: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="divide" class="tsd-anchor"></a><h3 class="tsd-anchor-link">divide<a href="#divide" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">divide<span class="tsd-signature-symbol">(</span>divisor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:757</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns this Long divided by the specified. The result is signed if this Long is signed or unsigned if this Long is unsigned.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>divisor: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Quotient</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="eq" class="tsd-anchor"></a><h3 class="tsd-anchor-link">eq<a href="#eq" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">eq<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:766</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#equals">Long.equals</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="equals" class="tsd-anchor"></a><h3 class="tsd-anchor-link">equals<a href="#equals" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:764</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value equals the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Other value</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="eqz" class="tsd-anchor"></a><h3 class="tsd-anchor-link">eqz<a href="#eqz" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">eqz<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:906</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#isZero">Long.isZero</a></p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="ge" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ge<a href="#ge" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">ge<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:786</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#greaterThanOrEqual">Long.greaterThanOrEqual</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getHighBits" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>High<wbr/>Bits<a href="#getHighBits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>High<wbr/>Bits<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:768</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Gets the high 32 bits as a signed integer.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getHighBitsUnsigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>High<wbr/>Bits<wbr/>Unsigned<a href="#getHighBitsUnsigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>High<wbr/>Bits<wbr/>Unsigned<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:770</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Gets the high 32 bits as an unsigned integer.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLowBits" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Low<wbr/>Bits<a href="#getLowBits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Low<wbr/>Bits<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:772</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Gets the low 32 bits as a signed integer.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLowBitsUnsigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Low<wbr/>Bits<wbr/>Unsigned<a href="#getLowBitsUnsigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Low<wbr/>Bits<wbr/>Unsigned<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:774</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Gets the low 32 bits as an unsigned integer.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getNumBitsAbs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Num<wbr/>Bits<wbr/>Abs<a href="#getNumBitsAbs" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Num<wbr/>Bits<wbr/>Abs<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:776</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Gets the number of bits needed to represent the absolute value of this Long.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="greaterThan" class="tsd-anchor"></a><h3 class="tsd-anchor-link">greater<wbr/>Than<a href="#greaterThan" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">greater<wbr/>Than<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:778</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is greater than the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="greaterThanOrEqual" class="tsd-anchor"></a><h3 class="tsd-anchor-link">greater<wbr/>Than<wbr/>Or<wbr/>Equal<a href="#greaterThanOrEqual" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">greater<wbr/>Than<wbr/>Or<wbr/>Equal<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:782</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is greater than or equal the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="gt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">gt<a href="#gt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">gt<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:780</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#greaterThan">Long.greaterThan</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="gte" class="tsd-anchor"></a><h3 class="tsd-anchor-link">gte<a href="#gte" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">gte<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:784</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#greaterThanOrEqual">Long.greaterThanOrEqual</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="inspect" class="tsd-anchor"></a><h3 class="tsd-anchor-link">inspect<a href="#inspect" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">inspect<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:913</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="isEven" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Even<a href="#isEven" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Even<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:788</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is even.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="isNegative" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Negative<a href="#isNegative" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Negative<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:790</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is negative.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="isOdd" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Odd<a href="#isOdd" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Odd<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:792</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is odd.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="isPositive" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Positive<a href="#isPositive" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Positive<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:794</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is positive.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="isZero" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Zero<a href="#isZero" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Zero<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:796</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value equals zero.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="le" class="tsd-anchor"></a><h3 class="tsd-anchor-link">le<a href="#le" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">le<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:908</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#lessThanOrEqual">Long.lessThanOrEqual</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="lessThan" class="tsd-anchor"></a><h3 class="tsd-anchor-link">less<wbr/>Than<a href="#lessThan" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">less<wbr/>Than<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:798</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is less than the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="lessThanOrEqual" class="tsd-anchor"></a><h3 class="tsd-anchor-link">less<wbr/>Than<wbr/>Or<wbr/>Equal<a href="#lessThanOrEqual" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">less<wbr/>Than<wbr/>Or<wbr/>Equal<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:802</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value is less than or equal the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="lt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">lt<a href="#lt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">lt<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:800</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of {@link Long#lessThan}.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="lte" class="tsd-anchor"></a><h3 class="tsd-anchor-link">lte<a href="#lte" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">lte<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:804</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#lessThanOrEqual">Long.lessThanOrEqual</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="mod" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mod<a href="#mod" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">mod<span class="tsd-signature-symbol">(</span>divisor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:808</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#modulo">Long.modulo</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>divisor: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="modulo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">modulo<a href="#modulo" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">modulo<span class="tsd-signature-symbol">(</span>divisor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:806</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns this Long modulo the specified.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>divisor: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="mul" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mul<a href="#mul" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">mul<span class="tsd-signature-symbol">(</span>multiplier<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:818</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#multiply">Long.multiply</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>multiplier: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="multiply" class="tsd-anchor"></a><h3 class="tsd-anchor-link">multiply<a href="#multiply" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">multiply<span class="tsd-signature-symbol">(</span>multiplier<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:816</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the product of this and the specified Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>multiplier: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Multiplier</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Product</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="ne" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ne<a href="#ne" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">ne<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:830</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#notEquals">Long.notEquals</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="neg" class="tsd-anchor"></a><h3 class="tsd-anchor-link">neg<a href="#neg" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">neg<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:822</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#negate">Long.negate</a></p>
</div></div><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="negate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">negate<a href="#negate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">negate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:820</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the Negation of this Long's value.</p>
</div></div><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="neq" class="tsd-anchor"></a><h3 class="tsd-anchor-link">neq<a href="#neq" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">neq<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:828</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#notEquals">Long.notEquals</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="not" class="tsd-anchor"></a><h3 class="tsd-anchor-link">not<a href="#not" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">not<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:824</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the bitwise NOT of this Long.</p>
</div></div><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="notEquals" class="tsd-anchor"></a><h3 class="tsd-anchor-link">not<wbr/>Equals<a href="#notEquals" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">not<wbr/>Equals<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:826</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if this Long's value differs from the specified's.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="or" class="tsd-anchor"></a><h3 class="tsd-anchor-link">or<a href="#or" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">or<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:834</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the bitwise OR of this Long and the specified.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="rem" class="tsd-anchor"></a><h3 class="tsd-anchor-link">rem<a href="#rem" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">rem<span class="tsd-signature-symbol">(</span>divisor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:810</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#modulo">Long.modulo</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>divisor: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shiftLeft" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shift<wbr/>Left<a href="#shiftLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shift<wbr/>Left<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:840</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns this Long with bits shifted to the left by the given amount.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Number of bits</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Shifted Long</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shiftRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shift<wbr/>Right<a href="#shiftRight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shift<wbr/>Right<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:848</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns this Long with bits arithmetically shifted to the right by the given amount.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Number of bits</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Shifted Long</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shiftRightUnsigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shift<wbr/>Right<wbr/>Unsigned<a href="#shiftRightUnsigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shift<wbr/>Right<wbr/>Unsigned<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:856</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns this Long with bits logically shifted to the right by the given amount.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Number of bits</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Shifted Long</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shl" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shl<a href="#shl" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shl<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:842</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#shiftLeft">Long.shiftLeft</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shr" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shr<a href="#shr" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shr<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:850</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#shiftRight">Long.shiftRight</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shr_u" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shr_<wbr/>u<a href="#shr_u" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shr_<wbr/>u<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:858</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#shiftRightUnsigned">Long.shiftRightUnsigned</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="shru" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shru<a href="#shru" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">shru<span class="tsd-signature-symbol">(</span>numBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:860</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#shiftRightUnsigned">Long.shiftRightUnsigned</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>numBits: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="sub" class="tsd-anchor"></a><h3 class="tsd-anchor-link">sub<a href="#sub" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">sub<span class="tsd-signature-symbol">(</span>subtrahend<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:868</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>This is an alias of <a href="Long.html#subtract">Long.subtract</a></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>subtrahend: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="subtract" class="tsd-anchor"></a><h3 class="tsd-anchor-link">subtract<a href="#subtract" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">subtract<span class="tsd-signature-symbol">(</span>subtrahend<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:866</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the difference of this and the specified Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>subtrahend: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol"> | </span><a href="Timestamp.html" class="tsd-signature-type" data-tsd-kind="Class">Timestamp</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Subtrahend</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>Difference</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toBigInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Big<wbr/>Int<a href="#toBigInt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Big<wbr/>Int<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:874</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts the Long to a BigInt (arbitrary precision).</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toBytes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Bytes<a href="#toBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Bytes<span class="tsd-signature-symbol">(</span>le<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:880</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts this Long to its byte representation.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> le: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether little or big endian, defaults to big endian</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div><p>Byte representation</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toBytesBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>BytesBE<a href="#toBytesBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>BytesBE<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:890</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts this Long to its big endian byte representation.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div><p>Big endian byte representation</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toBytesLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>BytesLE<a href="#toBytesLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>BytesLE<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:885</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts this Long to its little endian byte representation.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div><p>Little endian byte representation</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toExtendedJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>ExtendedJSON<a href="#toExtendedJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>ExtendedJSON<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">LongExtended</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:909</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">Options</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">LongExtended</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Int<a href="#toInt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Int<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:870</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toNumber" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Number<a href="#toNumber" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Number<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:872</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toSigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Signed<a href="#toSigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Signed<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:894</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts this Long to signed.</p>
</div></div><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toString" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>String<a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>String<span class="tsd-signature-symbol">(</span>radix<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:900</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts the Long to a string written in the specified radix.</p>
</div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p>RangeError If <code>radix</code> is out of range</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> radix: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Radix (2-36), defaults to 10</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="toUnsigned" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Unsigned<a href="#toUnsigned" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Unsigned<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:902</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts this Long to unsigned.</p>
</div></div><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="xor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">xor<a href="#xor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">xor<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:904</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the bitwise XOR of this Long and the given one.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>other: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromBigInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Big<wbr/>Int<a href="#fromBigInt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Big<wbr/>Int<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:695</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The number in question</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromBits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Bits<a href="#fromBits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Bits<span class="tsd-signature-symbol">(</span>lowBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, highBits<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:674</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits.
Each is assumed to use 32 bits.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>lowBits: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The low 32 bits</p>
</div></div></li><li><h5>highBits: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The high 32 bits</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromBytes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Bytes<a href="#fromBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Bytes<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, le<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:711</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates a Long from its byte representation.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bytes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Byte representation</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> le: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether little or big endian, defaults to big endian</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromBytesBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>BytesBE<a href="#fromBytesBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>BytesBE<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:725</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates a Long from its big endian byte representation.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bytes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Big endian byte representation</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromBytesLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>BytesLE<a href="#fromBytesLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>BytesLE<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:718</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates a Long from its little endian byte representation.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bytes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Little endian byte representation</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromExtendedJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>ExtendedJSON<a href="#fromExtendedJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>ExtendedJSON<span class="tsd-signature-symbol">(</span>doc<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>$numberLong<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:910</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>doc: <span class="tsd-signature-symbol">{ </span>$numberLong<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5>$number<wbr/>Long<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">Options</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Int<a href="#fromInt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Int<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:681</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns a Long representing the given 32 bit integer value.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The 32 bit integer in question</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromNumber" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Number<a href="#fromNumber" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Number<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:688</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The number in question</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromString" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>String<a href="#fromString" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>String<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, radix<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:703</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns a Long representation of the given string, written using the specified radix.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>str: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The textual representation of the Long</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> radix: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The radix in which the text is written (2-36), defaults to 10</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4><div><p>The corresponding Long value</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="fromValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Value<a href="#fromValue" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">from<wbr/>Value<span class="tsd-signature-symbol">(</span>val<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>high<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>low<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span>, unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:734</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Converts the specified value to a Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>val: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>high<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>low<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>unsigned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> unsigned: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Whether unsigned or not, defaults to signed</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a id="isLong" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> is<wbr/>Long<a href="#isLong" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">is<wbr/>Long<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">value</span><span class="tsd-signature-symbol"> is </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/bson/bson.d.ts:729</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Tests if the specified object is a Long.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">unknown</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">value</span><span class="tsd-signature-symbol"> is </span><a href="Long.html" class="tsd-signature-type" data-tsd-kind="Class">Long</a></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-is-external"><a href="Long.html" class="tsd-kind-icon">Long</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a href="Long.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#__isLong__" class="tsd-kind-icon">__is<wbr/>Long__</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#_bsontype" class="tsd-kind-icon">_bsontype</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#high" class="tsd-kind-icon">high</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#low" class="tsd-kind-icon">low</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-external"><a href="Long.html#unsigned" class="tsd-kind-icon">unsigned</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MAX_UNSIGNED_VALUE" class="tsd-kind-icon">MAX_<wbr/>UNSIGNED_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MAX_VALUE" class="tsd-kind-icon">MAX_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#MIN_VALUE" class="tsd-kind-icon">MIN_<wbr/>VALUE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#NEG_ONE" class="tsd-kind-icon">NEG_<wbr/>ONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#ONE" class="tsd-kind-icon">ONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#TWO_PWR_24" class="tsd-kind-icon">TWO_<wbr/>PWR_<wbr/>24</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#UONE" class="tsd-kind-icon">UONE</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#UZERO" class="tsd-kind-icon">UZERO</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#ZERO" class="tsd-kind-icon">ZERO</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#and" class="tsd-kind-icon">and</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#comp" class="tsd-kind-icon">comp</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#compare" class="tsd-kind-icon">compare</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#div" class="tsd-kind-icon">div</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#divide" class="tsd-kind-icon">divide</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#eq" class="tsd-kind-icon">eq</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#eqz" class="tsd-kind-icon">eqz</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#ge" class="tsd-kind-icon">ge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getHighBits" class="tsd-kind-icon">get<wbr/>High<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getHighBitsUnsigned" class="tsd-kind-icon">get<wbr/>High<wbr/>Bits<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getLowBits" class="tsd-kind-icon">get<wbr/>Low<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getLowBitsUnsigned" class="tsd-kind-icon">get<wbr/>Low<wbr/>Bits<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#getNumBitsAbs" class="tsd-kind-icon">get<wbr/>Num<wbr/>Bits<wbr/>Abs</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#greaterThan" class="tsd-kind-icon">greater<wbr/>Than</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#greaterThanOrEqual" class="tsd-kind-icon">greater<wbr/>Than<wbr/>Or<wbr/>Equal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#gt" class="tsd-kind-icon">gt</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#gte" class="tsd-kind-icon">gte</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#inspect" class="tsd-kind-icon">inspect</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isEven" class="tsd-kind-icon">is<wbr/>Even</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isNegative" class="tsd-kind-icon">is<wbr/>Negative</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isOdd" class="tsd-kind-icon">is<wbr/>Odd</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isPositive" class="tsd-kind-icon">is<wbr/>Positive</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#isZero" class="tsd-kind-icon">is<wbr/>Zero</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#le" class="tsd-kind-icon">le</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lessThan" class="tsd-kind-icon">less<wbr/>Than</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lessThanOrEqual" class="tsd-kind-icon">less<wbr/>Than<wbr/>Or<wbr/>Equal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lt" class="tsd-kind-icon">lt</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#lte" class="tsd-kind-icon">lte</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#mod" class="tsd-kind-icon">mod</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#modulo" class="tsd-kind-icon">modulo</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#mul" class="tsd-kind-icon">mul</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#multiply" class="tsd-kind-icon">multiply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#ne" class="tsd-kind-icon">ne</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#neg" class="tsd-kind-icon">neg</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#negate" class="tsd-kind-icon">negate</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#neq" class="tsd-kind-icon">neq</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#not" class="tsd-kind-icon">not</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#notEquals" class="tsd-kind-icon">not<wbr/>Equals</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#or" class="tsd-kind-icon">or</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#rem" class="tsd-kind-icon">rem</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftLeft" class="tsd-kind-icon">shift<wbr/>Left</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftRight" class="tsd-kind-icon">shift<wbr/>Right</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shiftRightUnsigned" class="tsd-kind-icon">shift<wbr/>Right<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shl" class="tsd-kind-icon">shl</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shr" class="tsd-kind-icon">shr</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shr_u" class="tsd-kind-icon">shr_<wbr/>u</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#shru" class="tsd-kind-icon">shru</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#sub" class="tsd-kind-icon">sub</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#subtract" class="tsd-kind-icon">subtract</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBigInt" class="tsd-kind-icon">to<wbr/>Big<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytes" class="tsd-kind-icon">to<wbr/>Bytes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytesBE" class="tsd-kind-icon">to<wbr/>BytesBE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toBytesLE" class="tsd-kind-icon">to<wbr/>BytesLE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toExtendedJSON" class="tsd-kind-icon">to<wbr/>ExtendedJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toInt" class="tsd-kind-icon">to<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toNumber" class="tsd-kind-icon">to<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toSigned" class="tsd-kind-icon">to<wbr/>Signed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#toUnsigned" class="tsd-kind-icon">to<wbr/>Unsigned</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="Long.html#xor" class="tsd-kind-icon">xor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBigInt" class="tsd-kind-icon">from<wbr/>Big<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBits" class="tsd-kind-icon">from<wbr/>Bits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytes" class="tsd-kind-icon">from<wbr/>Bytes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytesBE" class="tsd-kind-icon">from<wbr/>BytesBE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromBytesLE" class="tsd-kind-icon">from<wbr/>BytesLE</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromExtendedJSON" class="tsd-kind-icon">from<wbr/>ExtendedJSON</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromInt" class="tsd-kind-icon">from<wbr/>Int</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromNumber" class="tsd-kind-icon">from<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromString" class="tsd-kind-icon">from<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#fromValue" class="tsd-kind-icon">from<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-external"><a href="Long.html#isLong" class="tsd-kind-icon">is<wbr/>Long</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>