Home » F# Options

F# Options

Options type is used when there is no value present for function or variable. It provides an expression Some and a value None for handling the empty value and variable.

It is used when searching value not present for identifier.


F# using Options in code Example

Output:

Some 10  
Next TopicF# Generics

You may also like