- validatevoid validate(bool isValid, lazy string msg = "must be greater than zero") 
- General validation function. 
- validateFileExistsvoid validateFileExists(in string file, lazy string msg = "cannot open file `%s`") 
- Validates that the files exist. 
- validateFileExtensionvoid validateFileExtension(in string file, lazy string msg = "expected one of %-(%s, %) but got %s") 
- Validates that the file has one of the allowed extensions. 
- validateFileWritablevoid validateFileWritable(string file, lazy string msg = "cannot open file `%s` for writing: %s") 
- Validates that the file is writable. 
- validateFilesExistvoid validateFilesExist(in string[] files, lazy string msg = "cannot open file `%s`") 
- Validates that the files exist. 
- validatePositivevoid validatePositive(V value, lazy string msg = "must be greater than zero") 
- Validates that value is positive. 
- validateRangeNonNegativeAscendingvoid validateRangeNonNegativeAscending(in string rangeString, lazy string msg = "0 <= <from> < <to> must hold") 
- Validates that the values described by rangeString are non-negative and
    in ascending order. Validation is skipped if rangeString is null. 
Validate and parse config files.