UNPKG
js-wrench
Version:
latest (1.3.1)
1.3.1
1.3.0
1.2.2
1.2.1
JS函数库
js-wrench
/
d.ts
/
modules
/
toFirstUpper.d.ts
10 lines
(9 loc)
•
316 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** *
@description
首字母大写 * *
@param
{
string
} str 传入一个字符串 *
@return
{
*
} {
string
} 返回一个新的首字母大写的字符串 *
@example
toFirstUpper("abc") => Abc toFirstUpper("ABC") => ABC */
declare
const
toFirstUpper
:
(
str
:
string
) =>
string
;
export
default
toFirstUpper;