File size: 111 Bytes
8d88d9b
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
export function isURL(url: string) {
	try {
		new URL(url);
		return true;
	} catch (e) {
		return false;
	}
}