LearnBoost/stylus — Issue #463: Efficient existential operator?
Author: jasonkuhrt
Created: 2011-11-17 21:09:43+00:00
State: open

Is there/ what is the best way to do existential operation in stylus? Note how some_bool is defined. It could have 1 `bool` or 2

bools = true false

result = typeof(bools[1]) isnt "null" ? bools[1] : bools[0]