Beispiel #1
0
 public override object Evaluate(object target) => !TemplateDefaultFilters.isTrue(target);
Beispiel #2
0
 public override bool Test(object lhs, object rhs) => TemplateDefaultFilters.isTrue(lhs) && TemplateDefaultFilters.isTrue(rhs);
Beispiel #3
0
 public override bool Test(object lhs, object rhs) =>
 !TemplateDefaultFilters.isFalsy(lhs) && !TemplateDefaultFilters.isFalsy(rhs);
Beispiel #4
0
 public override object Evaluate(object target) => TemplateDefaultFilters.isFalsy(target);
Beispiel #5
0
 public override object Evaluate(object lhs, object rhs) =>
 TemplateDefaultFilters.isFalsy(lhs) ? rhs : lhs;