mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
26 lines
417 B
Markdown
26 lines
417 B
Markdown
# Tld
|
|
|
|
- `Tld()`
|
|
|
|
Validates whether the input is a top-level domain.
|
|
|
|
```php
|
|
v::tld()->validate('com'); // true
|
|
v::tld()->validate('ly'); // true
|
|
v::tld()->validate('org'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [CountryCode](CountryCode.md)
|
|
- [Domain](Domain.md)
|
|
- [Ip](Ip.md)
|
|
- [MacAddress](MacAddress.md)
|
|
- [SubdivisionCode](SubdivisionCode.md)
|