UNPKG
xe-utils-es
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
JavaScript 函数库、工具类
xe-utils-es
/
types
/
endsWith.d.ts
11 lines
(10 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * 判断字符串是否在源字符串的尾部 * *
@param
{
string
} str 字符串 *
@param
{
String/Number
} val 值 *
@param
{
number
} startIndex 开始索引 *
@return
{
string
} */
declare
function
endsWith
(
str
:
any
,
val
:
any
,
startIndex
:
any
):
boolean
;
export
default
endsWith;