Custom Operators in Swift - Coding Explorer Blog
So, in the earlier article Operator Overloading — Tailor Swift To Your Needs, you saw how you could add functionality to already existing operators to extend their functionality to work with new classes, or in that posts’s case, existing ones that it might make sense with. Now, what if you want a completely new operator? What if you have functionality so unique, that no current operator makes sense?