Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Add .truthy and .falsy #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

krawaller
Copy link

This PR adds .truthy as an alias to .ok, and compliments it with a new .falsy assertion.

They're both trivial to add on your own, of course. But I think that the use case is common enough to warrant inclusion in the main library, as .truthy and .falsy reads better than .ok and .not.ok.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant