Exemplo n.º 1
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All <TSource>(dynamic fn, IList <TSource> list)
 {
     return(Currying.All(Delegate(fn), list));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All <TSource>(Func <TSource, bool> fn, RamdaPlaceholder list = null)
 {
     return(Currying.All(Delegate(fn), list));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All(dynamic fn, RamdaPlaceholder list = null)
 {
     return(Currying.All(Delegate(fn), list));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All <TSource>(RamdaPlaceholder fn, IList <TSource> list)
 {
     return(Currying.All(fn, list));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All(RamdaPlaceholder fn = null, RamdaPlaceholder list = null)
 {
     return(Currying.All(fn, list));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All(dynamic fn, ITransformer list)
 {
     return(Currying.All(Delegate(fn), list));
 }
Exemplo n.º 7
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All(RamdaPlaceholder fn, ITransformer list)
 {
     return(Currying.All(fn, list));
 }
Exemplo n.º 8
0
 /// <summary>
 /// Returns `true` if all elements of the list match the predicate, `false` ifthere are any that don't.Dispatches to the `all` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> Boolean
 /// </summary>
 /// <param name="fn">The predicate function.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if the predicate is satisfied by every element, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 /// <see cref="R.None"/>
 /// <see cref="R.Transduce"/>
 public static dynamic All <TSource>(Func <TSource, bool> fn, ITransformer list)
 {
     return(Currying.All(Delegate(fn), list));
 }