MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isWeb

Function isWeb

src/platform/common/utils/misc.ts:102–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102export function isWeb() {
103 // eslint-disable-next-line @typescript-eslint/no-explicit-any
104 return process.platform.toString() === 'web' || (process as any).browser === true; // Webpack is modifying this to force this to happen
105}
106
107// eslint-disable-next-line @typescript-eslint/no-explicit-any
108function jsonStringifyUriReplacer(_key: string, value: any) {

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected