StartsWith<T>(IEnumerable<T>, IEnumerable<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)

Type Parameters

Name Description
T The type of item.

Parameters

Name Type Description
source IEnumerable<T> The items.
values IEnumerable<T> The values.

Return Value

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