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.
1 parent a2f3f5a commit 57d2c86Copy full SHA for 57d2c86
lib/util.ts
@@ -1,5 +1,3 @@
1
-import { randomBytes } from "crypto";
2
-
3
export function hasBinary(obj: any, toJSON?: boolean): boolean {
4
if (!obj || typeof obj !== "object") {
5
return false;
@@ -31,10 +29,6 @@ export function hasBinary(obj: any, toJSON?: boolean): boolean {
31
29
32
30
}
33
34
-export function randomId() {
35
- return randomBytes(8).toString("hex");
36
-}
37
38
/**
39
* Whether the client comes from the `redis` package
40
*
0 commit comments