mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
6 lines
208 B
TypeScript
6 lines
208 B
TypeScript
const supportedConstructions = ['303e', '203e'];
|
|
|
|
export function locoSupportsColdStart(constructionType: string) {
|
|
return new RegExp(`(${supportedConstructions.join('|')})`).test(constructionType);
|
|
}
|