2017-06-05

juan_gandhi: (Default)
2017-06-05 05:57 pm
Entry tags:

handling ternary type

...border: Option[Boolean]
... border.foreach({
case false => sb.append("noborder ")
case true => sb.append("border ")
})