Have a boolean value that could evaluate to true or false
Project description
Maybe-Boolean
The Maybe
type from the maybe_boolean
package creates a new boolean-like value that could could be true OR false when evaluated. Once it is evaluated to a boolean value, it keeps its identity. Install the library with pip install maybe-boolean
.
Short Example
from maybe_boolean import Maybe
val = Maybe()
if val:
print(val) # prints `True`
else:
print(val) # prints `False`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maybe-bool-0.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for maybe_bool-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f63c70e355d4adb0e157aef1570f633544971f2762692b22ad49a937be194e48 |
|
MD5 | 823645c9f22dddebfb17add25a895eda |
|
BLAKE2b-256 | 6ef35e5200fa8fd60e1ad6875742420156935a1683a84633a64d60332c53802b |