TryGetValue

TryGetValue<T>(IValueGetter, out T)

public static bool TryGetValue<T>(this IValueGetter container, out T value) ;

Description

Try to get a value of the specified type.

Type Parameters

Type Parameter Name Description Type Constraints
T Value type

Parameters

Parameter Name Description
container IValueGetter where the value is stored
value Value Output Arguments

Returns

Returns true if the value is successfully retrieved.