mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-27 05:36:09 +08:00
11 lines
227 B
JavaScript
11 lines
227 B
JavaScript
define(['./_setup'], function (_setup) {
|
|
|
|
// Is a given value a boolean?
|
|
function isBoolean(obj) {
|
|
return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]';
|
|
}
|
|
|
|
return isBoolean;
|
|
|
|
});
|