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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA