Skip to content

lurique/is-it-true

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Is it true?

"Is it true" is a package that helps you verify if a value is true or false.

Installing

Just npm install is-it-true and then import into your code like this:

import isTrue from 'is-it-true';

Usage

"WOW THATS EASY MY MAN" Of course it is. I've created it to be as easy as possible, so I can help every other developers in the world.

import isTrue from 'is-it-true';

isTrue(true); // returns true. You're right my man!
isTrue(false); // returns false. My condolences...
isTrue(123); // Numbers are always right, so it'll return true.
isTrue("String"); // Idk... returns false.

About

"imagine a laughing emoji here"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published