code: function (typeName) {
      switch (typeName) {
          case Constants.STRING_TYPE: return true;
          case Constants.NUMBER_TYPE: return true;
          case Constants.BOOLEAN_TYPE: return true;
          case Constants.DATE_TYPE: return true;
          case Constants.STRING_TYPE_LOWERCASE: return true;
          case Constants.NUMBER_TYPE_LOWERCASE: return true;
          case Constants.BOOLEAN_TYPE_LOWERCASE: return true;
          case Constants.DATE_TYPE_LOWERCASE: return true;
          default: return false;
      }
  }
docs: Checks to see if the specified type is a standard JS object type.