ngneat/falso

rand([1,2,3], {length: 2})

Closed this issue · 5 comments

Description

random function which return an array of randum element of given array

I can implemented it if not already done or accepted

Proposed solution

No response

Alternatives considered

No response

Do you want to create a pull request?

No

Do you meanrand[1, 2, 3]?

Hi netaniel,

I mean rand([1,2,3], {length: 4}) which return [1,3,2,1]

You can create a PR

great, i'll do it tonight, how do I assign myself to this issue?