Click or drag to resize
OptionalValueModuleMap2T1, T2, R Method
If both of the arguments contain value, apply the specified function to their values and return `OptionalValue<R>` with the result. Otherwise return `OptionalValue.Missing`.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static OptionalValue<R> Map2<T1, T2, R>(
	FSharpFunc<T1, FSharpFunc<T2, R>> f,
	OptionalValue<T1> input1,
	OptionalValue<T2> input2
)

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncT1, FSharpFuncT2, R

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

input1
Type: DeedleOptionalValueT1

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

input2
Type: DeedleOptionalValueT2

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

Type Parameters

T1
T2
R

Return Value

Type: OptionalValueR

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

See Also