After browsing through Rescript\'s API, it seems like there is no function that compares 2 strings that returns a boolean. The best option is localeCompare but
localeCompare