1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const lodash_1 = require("lodash");
|
4 | var License;
|
5 | (function (License) {
|
6 | License["MIT"] = "MIT";
|
7 | License["APACHE2"] = "Apache-2.0";
|
8 | License["GPL3"] = "GPL-3.0";
|
9 | })(License = exports.License || (exports.License = {}));
|
10 | exports.LICENSE_VALUES = Object.freeze(lodash_1.values(License));
|
11 | function isLicense(v) {
|
12 | return !!v && exports.LICENSE_VALUES.indexOf(v) !== -1;
|
13 | }
|
14 | exports.isLicense = isLicense;
|