Commit 81cf8d9
committed
Add logic and assertion checker classes
- Introduce `LogicalChecker()` class to provide static methods for boolean validation of types, membership, and comparisons
- Implement `AssertionChecker()` class to extend logical checks with exception-raising capabilities for stricter validation
- Include comprehensive unit tests to ensure correctness across various data types and edge cases
- Utilise the `operator` module and `typeguard` library to standardise internal logic and runtime type safety
- Provide various aliases for methods like `.is_type()` and `.assert_in()` to improve API flexibility1 parent cc3b624 commit 81cf8d9
2 files changed
Lines changed: 1754 additions & 0 deletions
0 commit comments