Option Type - Graph View A type that makes the possible absence of a value explicit: a value is either present (Some(x)) or absent (None), and the compiler forces you to handle both cases. View concept details Related ConceptsNull References Algebraic Data Types Make Illegal States Unrepresentable Pattern Matching Parse, Don't Validate Escape Hatch Total Functions Smart Constructor TypeScript Pit of Success Static Typing ← Back to full graph