Mercurial > repos > tabletprog
view modules/true.tp @ 342:884cd5d54c0f
Bugfix to array find:withDefault and a small optimization to array map
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 05 Apr 2015 22:49:40 -0700 |
parents | bb2b4613fdc8 |
children |
line wrap: on
line source
#{ if <- :self trueblock { trueblock: } ifnot <- :self falseblock { self } if:else <- :self trueblock :elseblock { trueblock: } not <- { false } string <- { "true" } jsonEncode <- { "true" } }