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

API Browser

Method

Find

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

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

Implements Map<K, V>.Find

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.