(“kiam” is “when” in Esperanto)
This crate introduces when! macro which provides better syntax for if/else if/else chains. The syntax is similar to match.
when!
if
else if
else
match
(idea is borrowed from kotlin)
Better syntax for if/else if/else similar to match syntax