repo
replacements.fyi

// package

is-boolean-object

type: "module"

// preferences

// replacements (1)

snippet::is-boolean

Simple or drop-in replacement

This package is no longer necessary. You can use `typeof` to check if a value is a boolean primitive, and `Object.prototype.toString.call` to check if it's a `Boolean` object.

// example

Object.prototype.toString.call(v) ===
	'[object Boolean]';