This project provides the implementation of an Elvis operator and the code samples from a CodeFX blog about it.
It is fairly simple with a class Elvis
, which contains the operator, and a class ElvisDemo
, which demonstrates its use as well as how you can solve the same problem without it.