Motoko's type system & converting between types

Is Text to Nat conversion still not provided? I’m writing a backend that responds to http_request and needs to convert a query parameter into a number to be able to look up items in an array, so there’s no frontend to do the conversion for me.

I found this post which provides code to convert text to float, and it’s easy enough especially since I don’t need to worry about decimals, but I was just wondering if text->number conversion is provided in the base library anywhere yet.