Kind of. It&#x27;s a sort of &quot;bad karma&quot; approach: There&#x27;s no compiler support per se, but it&#x27;s generally frowned upon to use &quot;null&quot; in native Scala code. Usually Scala APIs will use Option[T] to signify that something is optional and just assume that you don&#x27;t pass a Some(null) -- I can&#x27;t recall off-hand whether the latter will actually throw an NPE.<p>(Personally, I don&#x27;t think that it&#x27;s nearly sufficient, but as Paul Phillips would say &quot;INTEROPERABILITY with Java!&quot;.  Us Scala users suffer greatly for that nebulous goal.)