Click or drag to resize
OptionalValueModuleBindT, R Method
If the `OptionalValue<T>` does not contain a value, then returns a new `OptionalValue<R>.Empty`. Otherwise, returns the result of applying the function `f` to the value contained in the provided optional value.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static OptionalValue<R> Bind<T, R>(
	FSharpFunc<T, OptionalValue<R>> f,
	OptionalValue<T> input
)

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncT, OptionalValueR

[Missing <param name="f"/> documentation for "M:Deedle.OptionalValueModule.Bind``2(Microsoft.FSharp.Core.FSharpFunc{``0,Deedle.OptionalValue{``1}},Deedle.OptionalValue{``0})"]

input
Type: DeedleOptionalValueT

[Missing <param name="input"/> documentation for "M:Deedle.OptionalValueModule.Bind``2(Microsoft.FSharp.Core.FSharpFunc{``0,Deedle.OptionalValue{``1}},Deedle.OptionalValue{``0})"]

Type Parameters

T
R

Return Value

Type: OptionalValueR

[Missing <returns> documentation for "M:Deedle.OptionalValueModule.Bind``2(Microsoft.FSharp.Core.FSharpFunc{``0,Deedle.OptionalValue{``1}},Deedle.OptionalValue{``0})"]

See Also