Check if a string is a valid domain name. An empty string is allowed and considered valid.
Whether the domain matches the rules.
Domain to validate.
Generated using TypeDoc
Check if a string is a valid domain name. An empty string is allowed and considered valid.
Returns
Whether the domain matches the rules.