mirror of
https://github.com/Respect/Validation.git
synced 2024-06-27 01:30:05 +02:00
16 lines
280 B
Markdown
16 lines
280 B
Markdown
|
# CurrencyCode
|
||
|
|
||
|
- `v::currencyCode()`
|
||
|
|
||
|
Validates an [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code like GBP or EUR.
|
||
|
|
||
|
```php
|
||
|
v::currencyCode()->validate('GBP'); //true
|
||
|
```
|
||
|
|
||
|
***
|
||
|
See also:
|
||
|
|
||
|
* [CountryCode](CountryCode.md)
|
||
|
* [SubdivisionCode](SubdivisionCode.md)
|