21 lines
330 B
Markdown
21 lines
330 B
Markdown
|
# Tld
|
||
|
|
||
|
- `v::tld()`
|
||
|
|
||
|
Validates a top-level domain
|
||
|
|
||
|
```php
|
||
|
v::tld()->validate('com'); // true
|
||
|
v::tld()->validate('ly'); // true
|
||
|
v::tld()->validate('org'); // true
|
||
|
```
|
||
|
|
||
|
***
|
||
|
See also:
|
||
|
|
||
|
* [CountryCode](CountryCode.md)
|
||
|
* [Domain](Domain.md)
|
||
|
* [Ip](Ip.md)
|
||
|
* [MacAddress](MacAddress.md)
|
||
|
* [SubdivisionCode](SubdivisionCode.md)
|