1 | /**
|
2 | * 判断字符串是否在源字符串的头部
|
3 | * @param str 字符串
|
4 | * @param val 值
|
5 | */
|
6 | export declare function endsWith(str: string, val: string): string;
|
7 |
|
8 | /**
|
9 | * 判断字符串是否在源字符串的头部
|
10 | * @param str 字符串
|
11 | * @param val 值
|
12 | * @param startIndex 开始索引
|
13 | */
|
14 | export declare function endsWith(str: string, val: string, startIndex: number): string;
|
15 |
|
16 | declare module './ctor' {
|
17 | interface XEUtilsMethods {
|
18 | endsWith: typeof endsWith;
|
19 | }
|
20 | }
|
21 |
|
22 | export default endsWith
|