예제 #1
0
 public static Option <T> filter <T>(Option <T> option, Func <T, bool> Some, Func <bool> None) =>
 option.Filter(Some, None);
예제 #2
0
 public static Option <T> filter <T>(Option <T> option, Func <T, bool> pred) =>
 option.Filter(pred);