Created
September 5, 2019 12:01
-
-
Save Tom01098/58f8cde6ff362a802dcfd6ae04717766 to your computer and use it in GitHub Desktop.
An identity method that is more concise and readable than `x => x`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static T ID<T>(T x) => x; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment