Rttc.infer()

Infer the type schema from the provided example value.

Usage

Hover over inputs/exits for more info.

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


// Infer the type schema from the provided example value.

Rttc.infer({

example: '*',

}).execSync();

Inputs

example required

The example value to infer a type schema for.

'*'

Exits

error

An unexpected error occurred.

success

OK.

'*'