securityos/node_modules/clean-css/lib/options/rebase.js

12 lines
242 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
function rebaseFrom(rebaseOption, rebaseToOption) {
if (undefined !== rebaseToOption) {
return true;
} else if (undefined === rebaseOption) {
return false;
} else {
return !!rebaseOption;
}
}
module.exports = rebaseFrom;