Option.apply(x) 호출을 에뮬레이션하는 경우을 보고합니다.

예:


  if (x == null) None else Some(x)
  if (x != null) Some(x) else None

빠른 수정 적용 후:


  Option(x)