code: function typeName(item) {
    if (isNull(item)) {
      return "null";
    }
    else if (isUndefined(item)) {
      return "undefined";
    }
  
    return /\[.+ ([^\]]+)/.exec(toString(item))[1].toLowerCase();
  }
docs: Extract the type name. This uses Object.prototype.toString
  to get the type name.
  
  @param {*} item - Item to get the type for
  @returns {string} type of the object