configatron icon indicating copy to clipboard operation
configatron copied to clipboard

Suggestion: Allow asking `configatron.something?`

Open DannyBen opened this issue 6 years ago • 0 comments

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")

DannyBen avatar Mar 16 '18 10:03 DannyBen