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 5e5008b + 97912b4 commit 2be25cdCopy full SHA for 2be25cd
src/v1/internal/packstream.js
@@ -97,7 +97,7 @@ class Packer {
97
return () => this.packFloat(x);
98
} else if (typeof(x) == "string") {
99
return () => this.packString(x, onError);
100
- } else if (x instanceof Integer) {
+ } else if (Integer.isInteger(x)) {
101
return () => this.packInteger( x );
102
} else if (x instanceof Array) {
103
return () => {
0 commit comments