faker/provider/currency

    Dark Mode
Search:
Group by:

Procs

proc currency(f: Faker): (string, string) {...}{.raises: [], tags: [].}
Generates random currency.

Example:

let f = newFaker()
echo f.currency()
proc currencyCode(f: Faker): string {...}{.raises: [], tags: [].}
Generates random currencyCode.

Example:

let f = newFaker()
echo f.currencyCode()
proc currencyName(f: Faker): string {...}{.raises: [], tags: [].}
Generates random currencyName.

Example:

let f = newFaker()
echo f.currencyName()
proc currencySymbol(f: Faker): string {...}{.raises: [KeyError], tags: [].}
Generates random currencySymbol.

Example:

let f = newFaker()
echo f.currencySymbol()
proc cryptocurrency(f: Faker): (string, string) {...}{.raises: [], tags: [].}
Generates random cryptocurrency.

Example:

let f = newFaker()
echo f.cryptocurrency()
proc cryptocurrencyCode(f: Faker): string {...}{.raises: [], tags: [].}
Generates random cryptocurrencyCode.

Example:

let f = newFaker()
echo f.cryptocurrencyCode()
proc cryptocurrencyName(f: Faker): string {...}{.raises: [], tags: [].}
Generates random cryptocurrencyName.

Example:

let f = newFaker()
echo f.cryptocurrencyName()