my-idlers/node_modules/clean-css/lib/options/rebase.js

12 lines
242 B
JavaScript
Raw Normal View History

function rebaseFrom(rebaseOption, rebaseToOption) {
if (undefined !== rebaseToOption) {
return true;
} else if (undefined === rebaseOption) {
return false;
} else {
return !!rebaseOption;
}
}
module.exports = rebaseFrom;