lib/value-mapper.js
function (key) {
    // Look up the normal value
    var val = this.input[key];

    // Save the key for reference
    var _key = this.key;
    this.key = key;

    // Map our value through the middlewares
    val = this.process(val);

    // Restore the original key
    this.key = _key;

    // Return the value
    return val;
  }
function (key) {
    // Look up the normal value
    var val = this.input[key];

    // Save the key for reference
    var _key = this.key;
    this.key = key;

    // Map our value through the middlewares
    val = this.process(val);

    // Restore the original key
    this.key = _key;

    // Return the value
    return val;
  }
function ( key ) { // Look up the normal value var val = this . input [ key ] ; // Save the key for reference var _key = this . key ; this . key = key ; // Map our value through the middlewares val = this . process ( val ) ; // Restore the original key this . key = _key ; // Return the value return val ; }
Resolve the value of a key
@param {String} key Name to lookup value by
@returns {Object} retObj Container for value and meta information
@returns {Mixed} retObj.value Aliased, mapped, and flattened copy of `key`
@returns {String[]} retObj.aliasesUsed Array of aliased keys used while looking up
@returns {String[]} retObj.aliasesNotFound Array of aliased not found while looking up
Resolve the value of a key