Perhaps a micro-optimization, but `if-else` instead?