semvec/pypi-packages huggingface dataset:
undefined-python 1.1.0
A Python implementation of undefined value similar to JavaScript
License: MIT
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7

# Undefined Python

A Python implementation of `undefined` value similar to JavaScript.

## Installation

```bash
pip install undefined-python
```

## Usage

```python
from undefined import undefined

if some_value is undefined:
    print("Value is undefined")

# undefined is falsy
if not undefined:
    print("undefined is falsy")
```

## Features
- Singleton pattern - only one instance exists

- Compatible with Python 2.7+ and Python 3.5+

- Falsy in boolean context

- Proper equality checking