UNPKG

274 BJavaScriptView Raw
1function normalizeRawLicense({
2 rawLicense
3}) {
4 if (!rawLicense) {
5 return undefined;
6 }
7
8 if (typeof rawLicense !== 'string') {
9 return undefined;
10 }
11
12 return rawLicense;
13}
14
15export { normalizeRawLicense };
16//# sourceMappingURL=normalize-raw-license.esm.js.map