Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All boolean operations for types #16

Open
emptybutton opened this issue Nov 7, 2023 · 0 comments
Open

All boolean operations for types #16

emptybutton opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request operators operators.py

Comments

@emptybutton
Copy link
Owner

Currently, the library has available operations | (or) and & (and) on types, but to correspond to all binary operations there is not enough ! (not) operation.

Need to add the ability for not_ to be executed in the isinstance function with the corresponding functionality in this form:

assert not isinstance(not_(int), int())
assert isinstance(not_(int), str())

assert not isinstance(not_[int], int())
assert isinstance(not_[int], str())
@emptybutton emptybutton added enhancement New feature or request operators operators.py labels Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request operators operators.py
Projects
None yet
Development

No branches or pull requests

1 participant