IsCountableSequence Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
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
sourceIEnumerable<int>The value to test for a sequence of countable characters.
Returns
- bool
trueif the specifiedsourceis 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
sourceIEnumerable<long>The value to test for a sequence of countable characters.
Returns
- bool
trueif the specifiedsourceis a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise,false.