Navigation Structure
Table of contents
funcml-core is able to generate random string, numbers and floats.
_randomString
Returns a random string.
Usage
key:
_randomString:
length: 6
allowed: abcdef # defaults to abcdefhijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ
will be rendered as:
key: aebcdf
_randomNumber
Returns a random number with optional boundaries.
Usage
key:
_randomNumber: null # min: 0, max: 1000 by default
key2:
_randomNumber:
min: 1
max: 10
key3:
_randomNumber:
min: 1.0
max: 10.0
will be rendered as:
key: 783
key2: 8
key3: 6.0