Use wildcard function

The wildcard function achieves the same goal.