Open
Description
let response = match _.toLowerCase() {
"y" => true
"yes" => true
"n" => true
"no" => true
default => false
}
return response
produces:
let response = flat_null;
if (_1.toLowerCase().equals(FlatString.construct4("y"))) {
response = true;
} else if (_1.toLowerCase().equals(FlatString.construct4("yes"))) {
response = true;
} else if (_1.toLowerCase().equals(FlatString.construct4("n"))) {
response = true;
} else if (_1.toLowerCase().equals(FlatString.construct4("no"))) {
response = true;
} else {
response = false;
}
return (response).value;