UNPKG

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