Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The Case of the Null Reference: Code Listing 4
function f(Integer? x) {
return x?.plus(42);
}
print(f(null));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment