mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 07:48:26 -04:00
11 lines
224 B
JavaScript
11 lines
224 B
JavaScript
|
|
function rebaseFrom(rebaseOption, rebaseToOption) {
|
||
|
|
if (undefined !== rebaseToOption) {
|
||
|
|
return true;
|
||
|
|
} if (undefined === rebaseOption) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
return !!rebaseOption;
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = rebaseFrom;
|