comprose.get(data.faker.en.address.cityName, data.faker.fr.address.cityName); // London
comprose.get('animal.dog', data.faker.fr.address.cityName); // Paris
Parameters
Rest...collectionsOrPaths: string[] | string[][]
Pass a collection, or a series of collections and return a random sample.
Alternatively use path strings and the default dataset and locale will be used.
This class creates a Comprose instance and defines the default dataset and locale to be used by all methods.