/// <summary> /// Takes a list of predicates and returns a predicate that returns true for agiven list of arguments if at least one of the provided predicates issatisfied by those arguments.The function returned is a curried function whose arity matches that of thehighest-arity predicate. /// <para /> /// sig: [(*... -> Boolean)] -> (*... -> Boolean) /// </summary> /// <param name="predicates">An array of predicates to check</param> /// <returns>The combined predicate</returns> /// <see cref="R.AllPass"/> public static dynamic AnyPass(RamdaPlaceholder preds = null) { return(Currying.AnyPass(preds)); }
/// <summary> /// Takes a list of predicates and returns a predicate that returns true for agiven list of arguments if at least one of the provided predicates issatisfied by those arguments.The function returned is a curried function whose arity matches that of thehighest-arity predicate. /// <para /> /// sig: [(*... -> Boolean)] -> (*... -> Boolean) /// </summary> /// <param name="predicates">An array of predicates to check</param> /// <returns>The combined predicate</returns> /// <see cref="R.AllPass"/> public static dynamic AnyPass(IList <dynamic> preds) { return(Currying.AnyPass(preds)); }
/// <summary> /// Takes a list of predicates and returns a predicate that returns true for agiven list of arguments if at least one of the provided predicates issatisfied by those arguments.The function returned is a curried function whose arity matches that of thehighest-arity predicate. /// <para /> /// sig: [(*... -> Boolean)] -> (*... -> Boolean) /// </summary> /// <param name="predicates">An array of predicates to check</param> /// <returns>The combined predicate</returns> /// <see cref="R.AllPass"/> public static dynamic AnyPass <TSource>(IList <Func <TSource, bool> > preds) { return(Currying.AnyPass(preds)); }