isFxThread

inline fun isFxThread(): Boolean

Returns true if the calling thread is the JavaFX thread.