Smart Matching

Learn how to match operands in an efficient manner.

Smart match operator

The smart match operator, ~~, compares two operands and returns a true value if they match. The type of comparison depends on the type of both operands. given-when performs an implicit smart match.

This feature is experimental. The ...