mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
11 lines
537 B
TypeScript
11 lines
537 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export type RpmArchString = 'x86_64' | 'armv7hl' | 'aarch64';
|
|
|
|
export function isRpmArchString(s: string): s is RpmArchString {
|
|
return ['x86_64', 'armv7hl', 'aarch64'].includes(s);
|
|
}
|