Get browser type in script

Is there a way I can get the browser type by calling some method that is built in to Katalon? I can do this with javascript or something, but just wanted to know if there is a built in thing.

Figured this one out too. So in the Custom Keyword you have to use the DriverFactory class

import com.kms.katalon.core.webui.driver.DriverFactory as DF (DF can be whatever you want)

Then I just called this line:
((RemoteWebDriver) DF.getWebDriver()).getCapabilities().getBrowserName() This will get the name of the browser.

will york , i just want to get browser name but i didn’t understand your point so please send me the code