StartsWith<T>(IEnumerable<T>, IEnumerable<T>, IEqualityComparer<T>) Method
Determines whether the items starts with the specified values.
Namespace
Statiq.Common
Containing Type
IEnumerableExtensions

Syntax

public static bool StartsWith<T>(this IEnumerable<T> source, IEnumerable<T> values, IEqualityComparer<T> comparer)

Type Parameters

Name Description
T The type of item.

Parameters

Name Type Description
source IEnumerable<T> The items.
values IEnumerable<T> The values.
comparer IEqualityComparer<T> The comparer to use.

Return Value

Type Description
bool true if the items starts with all the specified values, false otherwise.