diff --git a/src/node/util.ts b/src/node/util.ts index b53a4ecf6..e33ad95bf 100644 --- a/src/node/util.ts +++ b/src/node/util.ts @@ -435,10 +435,6 @@ export const buildAllowedMessage = (t: any): string => { return `Allowed value${values.length === 1 ? " is" : "s are"} ${values.map((t) => `'${t}'`).join(", ")}` } -export const isObject = (obj: T): obj is T => { - return !Array.isArray(obj) && typeof obj === "object" && obj !== null -} - /** * Return a promise that resolves with whether the socket path is active. */