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

API Browser

Method

Find

abstract virtual func Find(value: T) -> Optional<T>

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

Defined by MutableSet<T>.Find · Required implementation (no default).

Interface implementation: Required implementation (no default).

Looks up the stored equivalent value using this set's equality policy.

Parameters

Name Type Description
value T The value to match.

Return value

Optional<T>

Some containing the stored value, including a permitted null; otherwise None.