function createRenderer(formatter) {
    return function(config) {
        return v => formatter(v, config);
    };
}
/**
 * Generate a renderer for a given formatter function.
 *
 * The returned renderer takes an optional config for its assigned formatter and itself returns
 * a function that takes only a value, for convenient use with e.g. grid cell rendering.
 *
 * @param {function} formatter - an existing formatter method.
 * @return {function(v: Object):function} - a configurable renderer.
 */
Generate a renderer for a given formatter function.
The returned renderer takes an optional config for its assigned formatter and itself returns
a function that takes only a value, for convenient use with e.g. grid cell rendering.

@param {function} formatter - an existing formatter method.
@return {function(v: Object):function} - a configurable renderer.
Generate a renderer for a given formatter function . The returned renderer takes an optional config for its assigned formatter and itself returns a function that takes only a value for convenient use with e . g . grid cell rendering . @param { function } formatter - an existing formatter method . @return { function ( v : Object ) : function } - a configurable renderer .
function createRenderer(formatter) {
    return function(config) {
        return v => formatter(v, config);
    };
}
function createRenderer ( formatter ) { return function ( config ) { return v => formatter ( v , config ) ; } ; }
Generate a renderer for a given formatter function.
Generate a renderer for a given formatter function .