Scalar functions
degenerateDistribution
Commentary
added in 0.0.5
Distribution that always returns the predefined value.
Examples
Generating the same value
{
"_gen": "degenerateDistribution",
"value": 42
}
[
42,
42,
42,
42,
42
]
Specification
JSON schema
{
"type": "object",
"properties": {
"value": {
"type": "number"
}
},
"required": [
"value"
]
}