https://github.com/timobechtel/maybe
Can't decide between true or false? You don't have to.
https://github.com/timobechtel/maybe
javascript maybe useful
Last synced: about 1 month ago
JSON representation
Can't decide between true or false? You don't have to.
- Host: GitHub
- URL: https://github.com/timobechtel/maybe
- Owner: TimoBechtel
- Created: 2020-10-04T16:27:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-04T16:49:09.000Z (about 5 years ago)
- Last Synced: 2025-02-19T13:31:37.009Z (8 months ago)
- Topics: javascript, maybe, useful
- Language: HTML
- Homepage: https://timobechtel.github.io/maybe/index.html
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤷♂️ maybe.js
Can't decide whether to use `true` or `false`? Fear no more! Use maybe.js.
With maybe.js you can do this:
```js
const flagA = true;
const flagB = false;
const flagC = maybe;console.log(flagC); // => logs true or false, everyone likes surprises!
```