Search Docs
toUpperCase
将 str 中的所有字符转换为大写。
str
import { toUpperCase } from 'funtool/string' toUpperCase('hello') // => 'HELLO' ✅ toUpperCase(123) // => '123' ✅
function toUpperCase(str: string): string
string