Skip to content

Enable using an object as a bool value #36

@nyggus

Description

@nyggus

In Python, you can do this:

x = [10, ]
if x: print("x is not empty")

You cannot do this with easycheck, as check_if() accepts only a Boolean value and will not transform any object to a bool, like above. This should be changed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions