Show / Hide Table of Contents

Class EnumerableExtensions

Inheritance
object
EnumerableExtensions
Namespace: Xrpl.Client.Extensions
Assembly: Xrpl.dll
Syntax
public static class EnumerableExtensions

Methods

| Edit this page View Source

ContainsElement<T>(IEnumerable<T>, Func<T, bool>)

Check collection if contains element

Declaration
public static bool ContainsElement<T>(this IEnumerable<T> collection, Func<T, bool> selector)
Parameters
Type Name Description
IEnumerable<T> collection

current collection

Func<T, bool> selector

function to check collection

Returns
Type Description
bool

true, if predicate one of of collection element is true

Type Parameters
Name Description
T

element type

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX