blob: dab1151ec1a5681a2ec4edb4e75c84a45b3c98b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# currency_pair
```js
// usage
chance.currency_pair()
```
Generate a currency pair. Handy for simulating currency conversions. Guaranteed to return a unique pair (and not the same currency twice).
```js
chance.currency_pair();
=> [{ code: "ALL", name: "Albania Lek" }, { code: "ZWD", name: "Zimbabwe Dollar" }]
```
|