README
tru(true)
.then(function() {
console.log('true');
})
.otherwise(function() {
console.log('true');
})
.end();
for when if statements aren't verbose enough.
```javascript tru(true) .then(function() { console.log('true'); }) .otherwise(function() { console.log('true'); }) .end(); ```
<script type="module">
import tru from 'https://cdn.skypack.dev/tru';
</script>
tru(true)
.then(function() {
console.log('true');
})
.otherwise(function() {
console.log('true');
})
.end();
for when if statements aren't verbose enough.