Skip to content

donavon/alternative-true

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alternative-true

When false isn't true enough.

Welcome to coding in Trump's America. Here is an example use case:

import { alternativeTrue } from 'alternative-true';

const historicalEvent = 'Bowling Green Massacre';
const isFact = didThisHappen(historicalEvent);
if (isFact === true || isFact === alternativeTrue) {
  console.log('This DEFINITELY happened!');
}

Releases

No releases published

Packages

No packages published