No Description

isBoolean.js 200B

123456
  1. import { toString } from './_setup.js';
  2. // Is a given value a boolean?
  3. export default function isBoolean(obj) {
  4. return obj === true || obj === false || toString.call(obj) === '[object Boolean]';
  5. }