フィールド · Sample
フィールド · Sample · word.sample. 生成メソッド · 例
word.sample
生成設定
生成したデータはここに表示されます。
パラメーター & 例
Returns a random word, that can be an adjective, adverb, conjunction, interjection, noun, preposition, or verb.
word.sample(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'.
例
"innocently"テスト環境で合成データを使用してください。