| IndexTKey, TValueFindValue Method |
Find some TValue for the first matching value where the supplied
predicate returns true for the given key.
Namespace:
Akka.Util
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public TValue FindValue(
TKey key,
Func<TValue, bool> predicate
)
member FindValue :
key : 'TKey *
predicate : Func<'TValue, bool> -> 'TValue
Parameters
- key
- Type: TKey
The key to use. - predicate
- Type: SystemFuncTValue, Boolean
The predicate to filter values associated with key.
Return Value
Type:
TValueThe first
TValue matching
predicate.
default(TValue) otherwise.
See Also