configatron
configatron copied to clipboard
Suggestion: Allow asking `configatron.something?`
It would be nice if configatron.param?
will simply be (conceptually-) aliased to !! configatron.param
# Allow asking `configatron.something?`
configatron.force = false
p configatron.force ? "forced" : "not forced"
p configatron.force? ? "forced" : "not forced"
# => "not forced"
# "forced" (but expected "not forced")