11 lines
622 B
TypeScript
11 lines
622 B
TypeScript
export declare function startsWith(haystack: string, needle: string): boolean;
|
|
/**
|
|
* Determines if haystack ends with needle.
|
|
*/
|
|
export declare function endsWith(haystack: string, needle: string): boolean;
|
|
export declare function convertSimple2RegExp(pattern: string): RegExp;
|
|
export declare function convertSimple2RegExpPattern(pattern: string): string;
|
|
export declare function getIndentation(lineContent: string, position: number): number;
|
|
export declare function safeCreateUnicodeRegExp(pattern: string): RegExp;
|
|
export declare function getFirstNonWhitespaceCharacterAfterOffset(str: string, offset: number): number;
|