@queso/is-boolean
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@queso/is-boolean

npm license Travis Build Status codecov Try @queso/is-boolean on RunKit

Part of a library of zero-dependency npm modules that do just one thing.

npm

min + gzip | 85 bytes

source

Checks if the primitive value of value is a boolean.

Usage

import isBoolean from '@queso/is-boolean'

isBoolean(false)
// => true

Parameters

Name Type Description
value any The value to check.

Returns

true if the primitive value of value is a boolean, else false.

Return type

value is boolean

Package Sidebar

Install

npm i @queso/is-boolean

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

7.01 kB

Total Files

8

Last publish

Collaborators

  • jedmao