Rttc.getDisplayType()

Given a value, return its type as a human-readable string.

Note that this is not limited to rttc types-- it can return strings like "Error" and "Date".

Usage

Hover over inputs/exits for more info.

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


// Given a value, return its type as a human-readable string.

Rttc.getDisplayType({

value: '===',

}).execSync();

Inputs

value

'==='

Exits

error

An unexpected error occurred.

success

OK.

'array'