UNPKG

@redocly/theme

Version:

Shared UI components lib

13 lines (12 loc) 265 B
/** * RegExps. * A URL must match #1 and then at least one of #2/#3. * Use two levels of REs to avoid REDOS. */ /** * Loosely validate a URL `string`. * * @param {String} input * @return {Boolean} */ export declare function isUrl(input: unknown): boolean;