Interjection generator
Returns a random interjection.
word.interjection
Generator settings
Generate data to see results here.
Parameters & Example
Returns a random interjection.
word.interjection(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'.
Example
"gadzooks"Use synthetic data in a test environment.