Rttc.compile()

Return a JavaScript code snippet which would accurately represent the given value in code.

Usage

Hover over inputs/exits for more info.

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


// Return a JavaScript code snippet which would accurately represent the given value in code.

Rttc.compile({

value: '===',

}).execSync();

Inputs

value required

The value to compile.

'==='

Exits

error

An unexpected error occurred.

success

OK.

'some JavaScript code'