Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
363 B
23 lines
363 B
2 years ago
|
/**
|
||
|
Check if a URL is absolute.
|
||
|
|
||
|
@param url - The URL to check.
|
||
|
|
||
|
@example
|
||
|
```
|
||
|
import isAbsoluteUrl = require('is-absolute-url');
|
||
|
|
||
|
isAbsoluteUrl('http://sindresorhus.com/foo/bar');
|
||
|
//=> true
|
||
|
|
||
|
isAbsoluteUrl('//sindresorhus.com');
|
||
|
//=> false
|
||
|
|
||
|
isAbsoluteUrl('foo/bar');
|
||
|
//=> false
|
||
|
```
|
||
|
*/
|
||
|
declare function isAbsoluteUrl(url: string): boolean;
|
||
|
|
||
|
export = isAbsoluteUrl;
|