alternative-true

When false isn't true enough.

Usage no npm install needed!

<script type="module">
  import alternativeTrue from 'https://cdn.skypack.dev/alternative-true';
</script>

README

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!');
}