Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

rhysforyou/toggle-boolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toggle-boolean license Travis npm

This library defines the .toggle() method on a Boolean, returning its inverse value in an efficient manner.

import 'toggle-boolean'

const myBoolean = true
console.log(myBoolean.toggle()) // "false"

About

Toggle a boolean's value in an efficient manner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published