Table of Contents

IsCountableSequence Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/IntegerExtensions.cs

IsCountableSequence(IEnumerable<int>)

Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).

public static bool IsCountableSequence(this IEnumerable<int> source)

Parameters

source IEnumerable<int>

The value to test for a sequence of countable characters.

Returns

bool

true if the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise, false.

IsCountableSequence(IEnumerable<long>)

Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).

public static bool IsCountableSequence(this IEnumerable<long> source)

Parameters

source IEnumerable<long>

The value to test for a sequence of countable characters.

Returns

bool

true if the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise, false.