UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 309 B
import type { IsURLOptions } from '../types'; /** * Check if the string is URL * * @param url - Options object * @param options - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isURL(url: string, options?: Partial<IsURLOptions>): boolean;