File size: 150 Bytes
0abf663
 
 
 
 
 
1
2
3
4
5
6
7
export function trimPrefix(input: string, prefix: string) {
	if (input.startsWith(prefix)) {
		return input.slice(prefix.length);
	}
	return input;
}