github-actions[bot] d7506e9702
Add node modules and compiled JavaScript from main (#198)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-24 15:58:43 -04:00

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]';
}