diff --git a/src/utils/types/type_helpers.py b/src/utils/types/type_helpers.py index 6952c0cc..830bf9d0 100644 --- a/src/utils/types/type_helpers.py +++ b/src/utils/types/type_helpers.py @@ -22,8 +22,8 @@ def is_list_of(obj: Any, query_type: type[T]) -> TypeGuard[list[T]]: def all_true(predicates: list[Predicate[T]]) -> Predicate[T]: """Compose a list of predicates into a single predicate. - The composed predicate will return True if any of the predicates in the list - return True for the object being tested. + The composed predicate will return True if all of the predicates in the list + return True for the given argument. """ def all_preds_true(obj: T) -> bool: