File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -34,29 +34,27 @@ def is_falsy(check_obj):
34
34
35
35
36
36
def is_not_truthy (check_obj ):
37
- check_obj .is_falsy ()
37
+ return check_obj .is_falsy ()
38
38
39
39
40
40
def is_not_falsy (check_obj ):
41
- check_obj .is_truthy ()
41
+ return check_obj .is_truthy ()
42
42
43
43
44
44
def is_true (check_obj ):
45
- check_obj .is_boolean ()
46
- check_obj .is_truthy ()
45
+ return check_obj .is_truthy ().is_boolean ()
47
46
48
47
49
48
def is_false (check_obj ):
50
- check_obj .is_boolean ()
51
- check_obj .is_falsy ()
49
+ return check_obj .is_falsy ().is_boolean ()
52
50
53
51
54
52
def is_not_true (check_obj ):
55
- check_obj .is_false ()
53
+ return check_obj .is_false ()
56
54
57
55
58
56
def is_not_false (check_obj ):
59
- check_obj .is_true ()
57
+ return check_obj .is_true ()
60
58
61
59
62
60
def has_same_truth_of (check_obj , value ):
You can’t perform that action at this time.
0 commit comments