示例#1
0
 /// <summary>
 /// Returns `true` if the specified value is equal, in `R.equals` terms, to atleast one element of the given list; `false` otherwise.
 /// <para />
 /// sig: a -> [a] -> Boolean
 /// </summary>
 /// <param name="a">The item to compare against.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if an equivalent item is in the list, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 public static dynamic Contains(RamdaPlaceholder a = null, RamdaPlaceholder list = null)
 {
     return(Currying.Contains(a, list));
 }
示例#2
0
 /// <summary>
 /// Returns `true` if the specified value is equal, in `R.equals` terms, to atleast one element of the given list; `false` otherwise.
 /// <para />
 /// sig: a -> [a] -> Boolean
 /// </summary>
 /// <param name="a">The item to compare against.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if an equivalent item is in the list, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 public static dynamic Contains <TSource>(RamdaPlaceholder a, IList <TSource> list)
 {
     return(Currying.Contains(a, list));
 }
示例#3
0
 /// <summary>
 /// Returns `true` if the specified value is equal, in `R.equals` terms, to atleast one element of the given list; `false` otherwise.
 /// <para />
 /// sig: a -> [a] -> Boolean
 /// </summary>
 /// <param name="a">The item to compare against.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if an equivalent item is in the list, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 public static dynamic Contains <TSource>(TSource a, RamdaPlaceholder list = null)
 {
     return(Currying.Contains(a, list));
 }
示例#4
0
 /// <summary>
 /// Returns `true` if the specified value is equal, in `R.equals` terms, to atleast one element of the given list; `false` otherwise.
 /// <para />
 /// sig: a -> [a] -> Boolean
 /// </summary>
 /// <param name="a">The item to compare against.</param>
 /// <param name="list">The array to consider.</param>
 /// <returns>`true` if an equivalent item is in the list, `false` otherwise.</returns>
 /// <see cref="R.Any"/>
 public static dynamic Contains <TSource>(TSource a, IList <TSource> list)
 {
     return(Currying.Contains(a, list));
 }