So I’m not very familiar with Jython and how I can do certain things, hence the probably basic question.
I want to ensure that the parameter being passed to a function is either a Dataset or a PyDataSet, but checking the type of a Dataset returns
<type 'com.inductiveautomation.ignition.common.BasicDataset'> and I can’t seem to find a way to actually compare the type of a variable to this.
isinstance(dataset, com.inductiveautomation.ignition.common.BasicDataset) just gives an error: “name ‘com’ is not defined”.
Is there something simple I’m missing?