Esempio n. 1
0
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
Esempio n. 2
0
def not_(x):
    check_type(x, bool)
    return not x
Esempio n. 3
0
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
Esempio n. 4
0
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
Esempio n. 5
0
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
Esempio n. 6
0
def not_(x):
    check_type(x, bool)
    return not x