forked from actions/setup-maven
7 lines
200 B
JavaScript
7 lines
200 B
JavaScript
|
import { toString } from './_setup.js';
|
||
|
|
||
|
// Is a given value a boolean?
|
||
|
export default function isBoolean(obj) {
|
||
|
return obj === true || obj === false || toString.call(obj) === '[object Boolean]';
|
||
|
}
|