JSR223 Javascript MQTT publish action?

Im trying to utilize the MQTT binding’s publish function in a JSR223 Javascript, but not really sure how to access it. There used to be an action for the Xtext DSL

kinda like this?

var MQTT = Java.type(“org.openhab.io.transport.mqtt.MqttService”);
and then MQTT.publish(…) ?

Any clues? Thanks!

found it!