We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ecb9763 + 2be25cd commit f0c48a0Copy full SHA for f0c48a0
src/v1/internal/packstream.js
@@ -98,7 +98,7 @@ class Packer {
98
return () => this.packFloat(x);
99
} else if (typeof(x) == "string") {
100
return () => this.packString(x, onError);
101
- } else if (x instanceof Integer) {
+ } else if (Integer.isInteger(x)) {
102
return () => this.packInteger( x );
103
} else if (x instanceof Array) {
104
return () => {
0 commit comments