{"size": 917, "ext": "js", "max_stars_repo_path": "backend/node_modules/prisma-client-lib/dist/codegen/utils/flatten.js", "max_stars_repo_name": "shashankcm/Full-Stack-Online-Shopping-Website", "max_stars_repo_stars_event_min_datetime": "2019-07-12T01:07:43.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-09T20:59:38.000Z", "max_issues_repo_path": "backend/node_modules/prisma-client-lib/dist/codegen/utils/flatten.js", "max_issues_repo_name": "shashankcm/Full-Stack-Online-Shopping-Website", "max_issues_repo_issues_event_min_datetime": "2019-10-31T13:15:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T23:13:59.000Z", "max_forks_repo_path": "backend/node_modules/prisma-client-lib/dist/codegen/utils/flatten.js", "max_forks_repo_name": "shashankcm/Full-Stack-Online-Shopping-Website", "max_forks_repo_forks_event_min_datetime": "2019-09-24T19:06:04.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-05T08:40:06.000Z"}
{"max_stars_count": 33, "max_issues_count": 28, "max_forks_count": 16, "avg_line_length": 36.68, "max_line_length": 126, "alphanum_fraction": 0.5736095965}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var flatten = function (chunks, executionContext) {
    return chunks.reduce(function (ruleSet, chunk) {
        /* Remove falsey values */
        if (chunk === undefined ||
            chunk === null ||
            chunk === false ||
            chunk === '') {
            return ruleSet;
        }
        /* Flatten ruleSet */
        if (Array.isArray(chunk)) {
            return ruleSet.concat(flatten(chunk, executionContext));
        }
        /* Either execute or defer the function */
        if (typeof chunk === 'function') {
            return executionContext
                ? ruleSet.concat.apply(ruleSet, flatten([chunk(executionContext)], executionContext)) : ruleSet.concat(chunk);
        }
        return ruleSet.concat(chunk.toString());
    }, []);
};
exports.default = flatten;
//# sourceMappingURL=flatten.js.map