An Optionalâs place in KotlinWith nullability being a first-class citizen in Kotlinâs type system, is there any need for an Optional type? With nullability being a first-class citizen in Kotlinâs type system, the need for an Optional type seems all but diminished. Just because you can explicitly express nullability, however, does not mean that null is always allowed. For example, Retrofit provides
{{#tags}}- {{label}}
{{/tags}}