ParentFull threadgclaramunt·or myVar.map({ val => doSomething(val) }).getOrElse(handleNone())View on HN