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