Files
number_zj/20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/endsWith.d.ts
毛财君 197b38ca6f 1
2023-07-06 17:37:33 +08:00

23 lines
507 B
TypeScript

/**
* 判断字符串是否在源字符串的头部
* @param str 字符串
* @param val 值
*/
export declare function endsWith(str: string, val: string): string;
/**
* 判断字符串是否在源字符串的头部
* @param str 字符串
* @param val 值
* @param startIndex 开始索引
*/
export declare function endsWith(str: string, val: string, startIndex: number): string;
declare module './ctor' {
interface XEUtilsMethods {
endsWith: typeof endsWith;
}
}
export default endsWith