Click or drag to resize
OptionalValueModuleOfTupleT Method
Creates `OptionalValue<T>` from a tuple of type `bool * 'T`. This function can be used with .NET methods that use `out` arguments. For example: Int32.TryParse("42") |> OptionalValue.ofTuple

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static OptionalValue<T> OfTuple<T>(
	bool b,
	T value
)

Parameters

b
Type: SystemBoolean

[Missing <param name="b"/> documentation for "M:Deedle.OptionalValueModule.OfTuple``1(System.Boolean,``0)"]

value
Type: T

[Missing <param name="value"/> documentation for "M:Deedle.OptionalValueModule.OfTuple``1(System.Boolean,``0)"]

Type Parameters

T

Return Value

Type: OptionalValueT

[Missing <returns> documentation for "M:Deedle.OptionalValueModule.OfTuple``1(System.Boolean,``0)"]

See Also