1 | // Type definitions for is-url 1.2
|
2 | // Project: https://github.com/segmentio/is-url
|
3 | // Definitions by: Ryota Murohoshi <https://github.com/RyotaMurohoshi>
|
4 | // BendingBender <https://github.com/BendingBender>
|
5 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
6 |
|
7 | export = isUrl;
|
8 |
|
9 | /**
|
10 | * @returns Whether `string` is a URL.
|
11 | */
|
12 | declare function isUrl(string: string): boolean;
|