mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-16 19:36:20 +00:00
Initalize
This commit is contained in:
22
node_modules/is-absolute-url/index.d.ts
generated
vendored
Normal file
22
node_modules/is-absolute-url/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
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;
|
||||
Reference in New Issue
Block a user