code: function(val) {
  
      if (val === undefined) {
        return "undefined";
      }
      if (val === null) {
        return "null";
      }
  
      let type = typeof val;
  
      if (type === "object") {
        type = getClass(val).toLowerCase();
      }
  
      if (type === "number") {
        return val.toString().indexOf(".") > 0 ?
          "float" :
          "integer";
      }
  
      return type;
    }
docs: Defines the type of the value, extended typeof