Files
毛财君 197b38ca6f 1
2023-07-06 17:37:33 +08:00

16 lines
364 B
TypeScript

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