UNPKG

tanuki-ui

Version:

HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor

10 lines (9 loc) 272 B
/** * Check if a string is a valid URL * @param str - The string to check * @param options - Options for URL validation * @returns true if the string is a valid URL */ export declare function isURL(str: string, options?: { requireProtocol?: boolean; }): boolean;