Skip to main content

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


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)

Uploaded Source

Built Distribution

maybe_bool-1.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page