This is available as Str\lowercase in the www repository.
Str\lowercase
Returns the string with all alphabetic characters converted to lowercase
namespace HH\Lib\Str; function lowercase( string $string, ): string;
string $string
string