We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like Ruby, Dagon objects are truthy by default. Exceptions to this rule are false and void, which are falsey.
false
void
Classes can also override Object's truthy* method to return false and become falsey.
Object
truthy
FalseyClass: truthy: false falsy: FalseyClass() if falsy "You never get here."
* The name of this method has not been finalized.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Like Ruby, Dagon objects are truthy by default. Exceptions to this rule are
false
andvoid
, which are falsey.Classes can also override
Object
'struthy
*method to return false and become falsey.
* The name of this method has not been finalized.
The text was updated successfully, but these errors were encountered: