Skip to main content

Function modifiers

null

Commentary

added in 0.0.5

How frequently this generator call should return null.


Examples

Generating null values

{
"_gen": "string",
"expr": "#{Name.fullName}",
"null": {
"rate": 0.5
}
}

Specification

JSON schema

{
"type": "object",
"properties": {
"null": {
"rate": {
"type": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
}
}