fd22b0bf58
V2 (Laravel re-make)
12 lines
242 B
JavaScript
Vendored
12 lines
242 B
JavaScript
Vendored
function rebaseFrom(rebaseOption, rebaseToOption) {
|
|
if (undefined !== rebaseToOption) {
|
|
return true;
|
|
} else if (undefined === rebaseOption) {
|
|
return false;
|
|
} else {
|
|
return !!rebaseOption;
|
|
}
|
|
}
|
|
|
|
module.exports = rebaseFrom;
|