Object Conditions - GenesisCoast/conditions-py GitHub Wiki

Introduction

Conditions

is_null(self)

Checks whether the given value is None

Condition.is_null(self)

is_not_null(self)

Checks whether the given value is None

Condition.is_not_null(self)

is_equal_to(self, value: object)

Checks whether the given value is equal to the object specified in value by comparing the internal dictionaries.

Condition.is_equal_to(self, value: object)

is_not_equal_to(self, value: object)

Checks whether the given value is not equal to the object specified in value by comparing the internal dictionaries.

Condition.is_not_equal_to(self, value: object)

is_equal_to_using_eq(self, value: object)

Checks whether the given value is equal to the object specified in value by using the `__eq__

Condition.is_equal_to_using_eq(self, value: object)

is_not_equal_to_using_ne(self, value: object)

Checks whether the given value is not equal to the object specified in value using the `__ne__

Condition.is_not_equal_to_using_ne(self, value: object)