mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
21 lines
352 B
Markdown
21 lines
352 B
Markdown
# CurrencyCode
|
|
|
|
- `CurrencyCode()`
|
|
|
|
Validates an [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code like GBP or EUR.
|
|
|
|
```php
|
|
v::currencyCode()->validate('GBP'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
1.0.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [CountryCode](CountryCode.md)
|
|
- [SubdivisionCode](SubdivisionCode.md)
|