UNPKG

valia

Version:

A runtime data validator in TypeScript with advanced type inference, built-in validation functions, and seamless integration for server and client environments.

12 lines (11 loc) 242 B
/** * **Standard :** RFC 1035 * * @see https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1 * * **Follows :** * `<domain>` * * @version 1.0.0-beta */ export declare function isDomain(str: string, params?: undefined): boolean;