JSFiddle - React, Tailwind, and code Playground

JavaScript

var FormData = (function () {
        function FormData(blogName, cacheTimeOut, copyrightHolder, navBarTitle, markdownExtra, markdownSanitize, ratingActive, htmlEditor) {
            this.BlogName = blogName;
            this.CacheTimeOut = cacheTimeOut;
            this.CopyrightHolder = copyrightHolder;
            this.NavBarTitle = navBarTitle;
            this.MarkdownExtra = markdownExtra;
            this.MarkdownSanitize = markdownSanitize;
            this.RatingActive = ratingActive;
            this.HtmlEditor = htmlEditor;
        }
        FormData.prototype.validate = function () {
            return this.checkString(this.BlogName) && this.checkString(this.CopyrightHolder) && this.checkString(this.NavBarTitle) && _.isNumber(this.CacheTimeOut) && !_.isNull(this.MarkdownExtra) && !_.isNull(this.MarkdownSanitize) && !_.isNull(this.RatingActive);
        };

        FormData.prototype.checkString = function (value) {
            return _.isString(value) && value !== '';
        };
        return FormData;
    })();

    var formData = new FormData('a', 10, 'b', 'c', true, true, false, true);
    alert(formData.validate());