This repository was archived by the owner on Aug 12, 2024. It is now read-only.
Repository navigation
v2.0.0
Release Notes
This was supposed to be v1.1.0, but I decided to just rewrite the entire module. So, due to the rules of semantic versioning, this is major release 2.
What's new
- Introduced a switch class instead of just returning the functions
- Rewrote the
:Case()method to support different operations (i.e. ~=, ==, >, <)
Fixes
- The
:Default()method can no longer have duplicates and will error out if you attempt to have multiple per constructor
Wally install: veternitzz/switch@2.0.0