필드 · Word

필드 · Word · lorem.word. 생성 메서드 · 예시

lorem.word

생성 설정

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

매개변수 & 예시

Generates a word of a specified length.

lorem.word(options?: number | { length?: NumberOrRange; strategy?: LengthStrategyType; })
options
The expected length of the word or the options to use.
options.length
The expected length of the word.
options.strategy
The strategy to apply when no words with a matching length are found. Defaults to 'fail'.

예시

"sordeo"

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

관련 생성기

시나리오 탐색