Ejemplo n.º 1
0
 /// <summary>
 /// True projection
 /// </summary>
 public static Unit True(this bool that) => that?Ctors.Unit() : Fail <Unit> .Tag(that, nameof(True));
Ejemplo n.º 2
0
 /// <summary>
 /// False projection
 /// </summary>
 public static Unit False(this bool that) => !that?Ctors.Unit() : Fail <Unit> .Tag(that, nameof(False));