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-bool
.
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-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for maybe_bool-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482f3d389dde3362c30a8434118615e89d972d09a5ec6c1e7b338fb7f5cbac70 |
|
MD5 | e1503830468ab6bae4425aaf5b1a2dad |
|
BLAKE2b-256 | f2caaada824b9ceb1de3ef4bf1927f309fa532553a08ef7d7a234c9d48c8a4e3 |