optional

Etymology

option + -al

adj

  1. Not compulsory; left to personal choice; elective.
    On that beach clothing is entirely optional.

noun

  1. Something that is not compulsory, especially part of an academic course.
  2. (programming, sometimes capitalized) In various programming languages, a kind of variable that is assigned a specific data type but may or may not hold an actual value.
    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. 2015, Richard M Reese, Learning Java Functional Programming, Packt Publishing Ltd, page 147

Attribution / Disclaimer All definitions come directly from Wiktionary using the Wiktextract library. We do not edit or curate the definitions for any words, if you feel the definition listed is incorrect or offensive please suggest modifications directly to the source (wiktionary/optional), any changes made to the source will update on this page periodically.