View source

class thx.Conditions

Available on all platforms

Helper methods to generate conditional statements in a more declarative way.

Class Fields

static function and(cond1:Dynamic, cond2:Dynamic):Dynamic

static function not(cond:Dynamic):Dynamic

static function or(cond1:Dynamic, cond2:Dynamic):Dynamic

static function unless(cond:Dynamic, then:Dynamic):Dynamic

static function when(cond:Dynamic, then:Dynamic):Dynamic

Toggle inherited fields