Skip to content

faker.helpers.uniqueArray examples are incomplete and broken #3291

@ST-DDT

Description

@ST-DDT

* @example
* faker.helpers.uniqueArray(faker.word.sample, 50)
* faker.helpers.uniqueArray(faker.definitions.person.first_name, 6)
* faker.helpers.uniqueArray(["Hello", "World", "Goodbye"], 2)

  • The faker.helpers.uniqueArray examples don't have example values.
    grafik

  • The middle example, does not return any useful values
    grafik

Found during the implementation of #3287

Metadata

Metadata

Assignees

Labels

c: docsImprovements or additions to documentationm: helpersSomething is referring to the helpers modulep: 1-normalNothing urgent

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions