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