-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
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())