New posts in optional

How to execute logic on Optional if not present?

In Swift, how do I avoid both optionals and nil object references?

Downcasting optionals in Swift: as? Type, or as! Type?

Checking the value of an Optional Bool

Multiple null checks in Java 8

Swift: testing against optional value in switch case

Why does findFirst() throw a NullPointerException if the first element it finds is null?

How to solve "String interpolation produces a debug description for an optional value; did you mean to make this explicit?" in Xcode 8.3 beta?

'Optional.get()' without 'isPresent()' check

Why optional constant does not automatically have a default value of nil [duplicate]

Why java.util.Optional is not Serializable, how to serialize the object with such fields

Optional property in class

Proper usage of Optional.ifPresent()

Default optional parameter in Swift function

Swift variable decorations with "?" (question mark) and "!" (exclamation mark)

Optional orElse Optional in Java

Check string for nil & empty

Providing a default value for an Optional in Swift?

Swift: Testing optionals for nil

Using multiple let-as within a if-statement in Swift