view modules/false.tp @ 260:56409de95f55

Untested implementation of filter for arrays
author Michael Pavone <pavone@retrodev.com>
date Sun, 01 Jun 2014 22:39:25 -0700
parents 1417f13f219c
children bb2b4613fdc8
line wrap: on
line source

#{
	if <- :self trueblock {
		self
	}
	ifnot <- :self falseblock {
		falseblock:
	}
	if:else <- :self trueblock :elseblock {
		elseblock:
	}
	not <- {
		true
	}
	string <- { "false" }
}