Skip to main content

Newtext analysis now works with AI —try it →

English word

optional

/ˈɒp.ʃə.nəl/CEFR level: B2, Upper intermediate

Meanings

adjective

  1. Not compulsory; left to personal choice; elective.

    Example: On that beach clothing is entirely optional.

noun

  1. Something that is not compulsory, especially part of an academic course.

  2. In various programming languages, a kind of variable that is assigned a specific data type but may or may not hold an actual value.

    Example: In functional languages, there is a data type called the option type, also called the maybe type. Its purpose is to encapsulate a value, which is returned from a function. […] In Java 8, the Optional class has been added to serve as an option type.