Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Contains

func Contains(value: T) -> bool

Declaring type: HashSet<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: HashSet.rvn

Implements Set<T>.Contains

Tests membership.

Parameters

Name Type Description
value T Element to test or modify.

Return value

Boolean

True if an equivalent element is present.