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

Function normalizeCall

src/platform/logging/index.ts:327–339  ·  view source on GitHub ↗
(call: CallInfo)

Source from the content-addressed store, hash-verified

325};
326
327function normalizeCall(call: CallInfo): CallInfo {
328 let { kind, name, args } = call;
329 if (!kind || kind === '') {
330 kind = 'Function';
331 }
332 if (!name || name === '') {
333 name = '<anon>';
334 }
335 if (!args) {
336 args = [];
337 }
338 return { kind, name, args, methodName: call.methodName || '', target: call.target || undefined };
339}
340
341// eslint-disable-next-line @typescript-eslint/no-explicit-any
342function isUri(resource?: Uri | any): resource is Uri {

Callers 1

formatMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected