Skip to content

Commit

Permalink
Update src/modules/helpers/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Mayer <152770+matthewmayer@users.noreply.github.com>
  • Loading branch information
ST-DDT and matthewmayer authored Mar 2, 2024
1 parent 8688ca0 commit c9cb524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ export class SimpleHelpersModule extends SimpleModuleBase {
* @example
* faker.helpers.multiple(() => faker.person.firstName()) // [ 'Aniya', 'Norval', 'Dallin' ]
* faker.helpers.multiple(() => faker.person.firstName(), { count: 3 }) // [ 'Santos', 'Lavinia', 'Lavinia' ]
* faker.helpers.multiple((_, i) => `Person ${i + 1}` ) // [ 'Person 1', 'Person 2', 'Person 3' ]
* faker.helpers.multiple((_, i) => `${faker.color.human()}-${i + 1}` ) // [ 'orange-1', 'orchid-2', 'sky blue-3' ]
*
* @since 8.0.0
*/
Expand Down

0 comments on commit c9cb524

Please sign in to comment.