tao-test/app/vendor/respect/validation/docs/rules/MacAddress.md

18 lines
258 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# MacAddress
- `v::macAddress()`
Validates a Mac Address.
```php
v::macAddress()->validate('00:11:22:33:44:55'); // true
v::macAddress()->validate('af-AA-22-33-44-55'); // true
```
***
See also:
* [Domain](Domain.md)
* [Ip](Ip.md)
* [Tld](Tld.md)