We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3207bfd + 61a7ffd commit b29af6cCopy full SHA for b29af6c
src/node/util.ts
@@ -435,10 +435,6 @@ export const buildAllowedMessage = (t: any): string => {
435
return `Allowed value${values.length === 1 ? " is" : "s are"} ${values.map((t) => `'${t}'`).join(", ")}`
436
}
437
438
-export const isObject = <T extends object>(obj: T): obj is T => {
439
- return !Array.isArray(obj) && typeof obj === "object" && obj !== null
440
-}
441
-
442
/**
443
* Return a promise that resolves with whether the socket path is active.
444
*/
0 commit comments