/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }