We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contains
ContainsAny
IObjectProvider<IEnumerable<TSource>>
Add extension methods:
public static bool Contains<TSource>( this IObjectProvider<IEnumerable<TSource>> source, params TSource[] items); public static bool Contains<TSource>( this IObjectProvider<IEnumerable<TSource>> source, IEnumerable<TSource> items); public static bool ContainsAny<TSource>( this IObjectProvider<IEnumerable<TSource>> source, params TSource[] items); public static bool ContainsAny<TSource>( this IObjectProvider<IEnumerable<TSource>> source, IEnumerable<TSource> items);
page.SomeInput.DomClasses.Contains("class-a", "class-b"); page.SomeInput.DomClasses.ContainsAny("disabled", "state-disabled");
The text was updated successfully, but these errors were encountered:
#710 Add Contains and ContainsAny extension methods for `IObjectP…
10d4104
…rovider<IEnumerable<TSource>>`
YevgeniyShunevych
No branches or pull requests
Add extension methods:
Usage
The text was updated successfully, but these errors were encountered: