Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/common/sessionConfig.ts
13389 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import type { ResolveSessionConfigResult } from '../../platform/agentHost/common/state/protocol/commands.js';
7
8
export function isSessionConfigComplete(config: ResolveSessionConfigResult): boolean {
9
return (config.schema.required ?? []).every(property => config.values[property] !== undefined);
10
}
11
12