BoolExt extension

on

Methods

ifTrue(dynamic yes, [dynamic no]) → dynamic

Available on bool, provided by the BoolExt extension

Return yes if the boolean is true, otherwise return no