warg.boolean_tests

Created on 02/01/2020

Functions

is_positive_and_mod_zero(mod, counter, *[, ...])

test if mod is positive then test if counter % mod is 0 if both tests are true return ret else return alt

is_zero_or_mod_zero(mod, counter, *[, ret, ...])

test if mod is zero or if counter % mod is 0 if any of the tests are true return ret else return alt

is_none_or_zero_or_negative(obj[, ...])

is_zero_or_mod_below(mod, below, counter, *)

test if mod is zero or if counter % mod is 0 if any of the tests are true return ret else return alt

is_none_or_zero_or_negative_or_mod_zero(mod, ...)

xor(a, b)

xnor(a, b)

nand(a, b)