File size: 150 Bytes
faca43f
 
 
 
 
 
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;
}