mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
15 lines
281 B
Markdown
15 lines
281 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)
|