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