You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					14 lines
				
				318 B
			
		
		
			
		
	
	
					14 lines
				
				318 B
			| 
								 
											11 months ago
										 
									 | 
							
								# 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" }]
							 | 
						||
| 
								 | 
							
								```
							 |