diff --git a/src/node/util.ts b/src/node/util.ts index b53a4ecf618222481e04d49dc63f20a8dbc55a03..e33ad95bf24f8a111e629b6e0a82bdd28eabf1a7 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. */