Skip to main content

Scalar functions

digitString

Commentary

added in 0.1.13

Generates character strings composed of only digits. Specify the length with n.


Examples

Generating digit strings

{
"_gen": "digitString",
"n": 5
}
[
"51673",
"95365",
"99619",
"53533",
"42569"
]

Specification

JSON schema

{
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0
}
}
}