Generate vehicle
Generates a car description dict
Evaluation
This expression evaluates to a function of the form:
(seed) -> any
The function is consistent with generator semantics of the Random Data step.
Processing
Given a seed value, the function returns a pseudo-random dict value of the following form:
{
:fuel_type string,
:transmission string,
:model string,
:drive string,
:make string,
:class string,
:year long,
:cylinders long
}
An concrete value might look like:
{
:fuel_type 'Premium',
:transmission 'Manual 5-speed',
:model '911',
:drive 'Rear-Wheel Drive',
:make 'Porsche',
:class 'Minicompact Cars',
:year 1987,
:cylinders 6
}
All values are randomly generated.
Settings
Name | Type | Description |
---|---|---|
Chance of nil |
double |
Probability in range of 0.0 to 1.0 that the generator will return nil instead of generating a value. |