// Detect It Easy: detection rule file format

init("operation system", "macOS");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (MACH.isVerbose()) {
        sName = MACH.getOperationSystemName();
        sVersion = MACH.getOperationSystemVersion();
        sOptions = MACH.getOperationSystemOptions();

        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}