Source code
Revision control
Copy as Markdown
Other Tools
fn isAdmin() {
return false;
}
fn isAdmin() {
return true;
}
fn main() {
if isAdmin() {
printf("You are an admin\n");
} else {
printf("You are NOT an admin.\n");
}
}