Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mit-mit
Last active January 9, 2022 16:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mit-mit/7dda00ca6278ce7d2555f78d59d9e67b to your computer and use it in GitHub Desktop.
Save mit-mit/7dda00ca6278ce7d2555f78d59d9e67b to your computer and use it in GitHub Desktop.
main() {
final accessLevel = 'user';
if (accessLevel == 'user‮ ⁦// Check if admin⁩ ⁦') {
print('You are a regular user.');
} else {
print('You are an admin.');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment