Sep 9, 2022
Thanks Sho! I'm glad you found it useful. Another benefit I forgot to mention is that you can pass the properties in any order in the object, which is great if you have several similar utility functions where it's easy to forget the "correct" order when defining them and using them.