Search Docs
trimStart
移除 str 左端的空白字符。
str
import { trimStart } from 'funtool/string' trimStart(' hello') // => 'hello' ✅ trimStart(123) // => '123' ✅
function trimStart(str: string): string
string