MCPcopy
hub / github.com/microsoft/vscode / isObject

Function isObject

src/bootstrap-fork.ts:87–93  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

85 }
86
87 function isObject(obj: unknown): boolean {
88 return typeof obj === 'object'
89 && obj !== null
90 && !Array.isArray(obj)
91 && !(obj instanceof RegExp)
92 && !(obj instanceof Date);
93 }
94
95 function safeSendConsoleMessage(severity: 'log' | 'warn' | 'error', args: string): void {
96 safeSend({ type: '__$console', severity, arguments: args });

Callers 1

safeToStringFunction · 0.70

Calls 1

isArrayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…