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

API Browser

Method

Find

abstract virtual func Find(key: K) -> Optional<V>

Declaring type: Map<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: Map.rvn

Defined by Map<K, V>.Find · Required implementation (no default).

Interface implementation: Required implementation (no default).

Returns the value associated with the key, or None when the key is absent.

Parameters

Name Type Description
key K The key to look up or update.

Return value

Optional<V>

Some containing the associated value, or None if the key is absent.