Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Option type?

Definition 7.6 University Computer Science — Year 2 · Capítulo 7 — Enums, Pattern Matching and Error Handling

The option type Option<T> of the standard library is the enum with the variants Some(T) and None. It is the type of a value that may be absent, and replaces the null pointer and the reserved no value code.

Leer en el capítulo →