I have an Option[String].
Option[String]
I want to check if there is a string exists and if it\'s exists its not blank.
def isBlank( input : Option[Strin
This should work as well since filter of an empty Option results in an empty Option
def isBlank( input : Option[String]) : Boolean = input.filter(_.trim.length > 0).isEmpty