0.0.1 • Published 6 years ago
value-to-type v0.0.1
Value to Type
Install
npm install value-to-type
Usage
const valueToType = require('value-to-type');
valueToType('unicorns');
//=> 'string'
API
valueToType(value)
input
Type: any
For example:
[{rainbow: 'unicorns'}, {rainbow: 'cats'}]
Output:
[{rainbow: 'string'}]
License
MIT © Herman
0.0.1
6 years ago