Method
TryGetValue
static func TryGetValue<TKey, TValue>(self: Dictionary<TKey, TValue>, key: TKey) -> Option<TValue>
Type: DictionaryExtensions<TKey, TValue>
Namespace: System.Collections.Generic
Assembly: Raven.Core.dll
Source file: TryGet.rvn
Looks up a key without exposing an out parameter.
Parameters
| Name | Description |
|---|---|
key |
The key to locate. |
Returns
Some containing the value when found; otherwise None.