Exemple #1
0
 public static IReq <T> OrNode <T>(this IOpt <T> x, Func <Node> y)
     where T : Node
 => x.HasNode ? x.AsReq() : new Req <T>(y());
Exemple #2
0
 public static IReq <T> Orr <T>(this IOpt <T> x, Func <IReq <T> > y)
     where T : Node
 => x.HasNode ? x.AsReq() : y();