필드 · Shuffle

필드 · Shuffle · helpers.shuffle. 생성 메서드 · 예시

helpers.shuffle

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Takes an array and randomizes it in place then returns it.

helpers.shuffle(list: T[], options: { inplace })
list
The array to shuffle.
options
The options to use when shuffling.
options.inplace
Whether to shuffle the array in place or return a new array. Defaults to false.

예시

["beta","alpha","gamma"]

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색