function _getItem(name) {
  if (typeof name === 'function') {
    return name;
  }

  if (!hasItem(name)) {
    throw Error("No registered renderer found under \"".concat(name, "\" name"));
  }

  return getItem(name);
}
Retrieve renderer function.

@param {String} name Renderer identification.
@returns {Function} Returns renderer function.