Ensures a main-correct solution exists in the configuration. Type assertion function that throws if no MA (main correct) solution found.
Solutions array to validate
If no solutions are defined
If no MA (main correct) solution exists
const config = readConfigFile();ensureMainSolutionExists(config.solutions); Copy
const config = readConfigFile();ensureMainSolutionExists(config.solutions);
Ensures a main-correct solution exists in the configuration. Type assertion function that throws if no MA (main correct) solution found.