isDataTypeAvailable method
- DataType dataType
Check whether the data source produces a specific data type.
Parameters
dataType: The DataType to check for availability.
Returns
- bool: True if the data type is available, false otherwise.
See also:
- availableDataTypes - Lists all data types provided by this source.
Implementation
bool isDataTypeAvailable(final DataType dataType) {
final OperationResult resultString = objectMethod(
pointerId,
'DataSourceContainer',
'isDataTypeAvailable',
args: dataType.id,
);
return resultString['result'];
}