Rttc.sample()

Generate some sample values that validate against the provided type schema.

Usage

Hover over inputs/exits for more info.

var Rttc = require('machinepack-rttc');


// Generate some sample values that validate against the provided type schema.

Rttc.sample({

typeSchema: '*',

n: 2,

}).execSync();

Inputs

typeSchema required

The type schema to use as a CFG.

'*'
n

The maximum number of sample values to generate.

2

Exits

error

An unexpected error occurred.

success

OK.

[ '===' ]