warg.boolean_tests.is_positive_and_mod_zero¶
- warg.boolean_tests.is_positive_and_mod_zero(mod: int | float | None, counter: int, *, ret: Any = True, alt: Any = False, residual_printer: Callable = None) Any[source]¶
test if mod is positive then test if counter % mod is 0 if both tests are true return ret else return alt
- Parameters:
residual_printer –
mod –
counter –
ret –
alt –
- Returns: