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.
22 lines
363 B
22 lines
363 B
/**
|
|
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;
|
|
|