UNPKG

@types/is-url

Version:
26 lines (19 loc) 761 B
# Installation > `npm install --save @types/is-url` # Summary This package contains type definitions for is-url (https://github.com/segmentio/is-url). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-url. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-url/index.d.ts) ````ts export = isUrl; /** * @returns Whether `string` is a URL. */ declare function isUrl(string: string): boolean; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by [Ryota Murohoshi](https://github.com/RyotaMurohoshi), and [BendingBender](https://github.com/BendingBender).