示例#1
0
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
示例#2
0
def not_(x):
    check_type(x, bool)
    return not x
示例#3
0
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
示例#4
0
文件: boolean.py 项目: drkjam/funpy
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
示例#5
0
文件: boolean.py 项目: drkjam/funpy
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
示例#6
0
文件: boolean.py 项目: drkjam/funpy
def not_(x):
    check_type(x, bool)
    return not x