How to create a Handlebar helper function

Thank you so much for your reply. It is working fine now,