Skip to content

Smiltent/isFalse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isFalse

Checks if a boolean is true or false

Why use this package?

This is the most elegant and simplest way of figuring out if a boolean is false, without using complicated if statements!

Features

  • Check if a boolean is true or false
  • yeah that's pretty much it...

How to install?

Using your favorite node package manager, some examples below:

bun install -g @smilt/isfalse
pnpm add -g @smilt/isfalse
npm add -g @smilt/isfalse

Example Usage (Typescript)

import isFalse from '@smilt/isfalse'

const variable1 = false
const variable2 = true

console.log(isFalse(variable1)) // Returns: true
console.log(isFalse(variable2)) // Returns: false

License

MIT License

About

Checks if a boolean is true or false

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published