We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6471e1d commit 7ac2c57Copy full SHA for 7ac2c57
arduino-ide-extension/src/browser/contributions/create-cloud-copy.ts
@@ -23,6 +23,7 @@ interface CreateCloudCopyParams {
23
}
24
function isCreateCloudCopyParams(arg: unknown): arg is CreateCloudCopyParams {
25
return (
26
+ typeof arg === 'object' &&
27
(<CreateCloudCopyParams>arg).model !== undefined &&
28
(<CreateCloudCopyParams>arg).model instanceof SketchbookTreeModel &&
29
(<CreateCloudCopyParams>arg).node !== undefined &&
0 commit comments