Skip to content

Instantly share code, notes, and snippets.

@dcomartin dcomartin/option.cs

Created Oct 27, 2017
What would you like to do?
public static Option<string> RemoveWhitespace(string name)
return name.SomeNotNull().Map(s => s.Replace(" ", ""));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.