BoolExt extension

on

Methods

ifTrue(dynamic yes, [dynamic no]) → dynamic
Return yes if the boolean is true, otherwise return no