Difference between Scala Option’s isDefined and nonEmpty method December 4, 2023 by Tarik Looking at the source, the definition of nonEmpty is: final def nonEmpty = isDefined