CJGutz / unchained

Simple template renderer and router
https://gutzkow.com
MIT License
2 stars 0 forks source link

Add falsable #10

Open CJGutz opened 6 months ago

CJGutz commented 6 months ago

Want to check

{* if data {
} *}

and turn that into a boolean value. First check if data is an attribute which contains a boolean or is the string true or false. If it is of an option type. In that case we turn it into None=>false and Some=>true.