obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
13 lines (12 loc) • 321 B
text/typescript
/**
* @packageDocumentation
*
* Contains a utility function for validating URLs.
*/
/**
* Determines whether a given string is a valid URL
*
* @param str - The string to validate as a URL.
* @returns `true` if the string is a valid URL, otherwise `false`.
*/
export declare function isUrl(str: string): boolean;