Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA