KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When you want to convert a varible v into false when it is nil / false and true otherwise, there is an easy way to do it: !!v But is there an easy way to convert v into nil when it is nil / false and retain its value otherwise?
Tags (comma-separated)
Save Edits
Cancel