Skip to content

lowerFirst ​

将 字符串 的 首字母 小写,其余部分保持不变。

使用 ​

ts
import { lowerFirst } from 'rattail'

upperFirst('Hello') // return 'hello'
upperFirst('Rattail') // return 'rattail'

参数 ​

参数类型默认值
valuestring

返回值 ​

类型
string