Return delegate contained in this wrapper or null.
Return delegate contained in this wrapper or null.
This is useful in situations when passing calling directly JavaFX API that accepts null arguments.
Call to
delegateOrNull(wrapper)
is equivalent to
if (wrapper != null) wrapper.delegate else null
JavaFX type
ScalaFX wrapper